David
Sun Dec 02 12:52:38 PST 2007
Hi,
Thanks for your response. It is welcome.
This is the first project that I will have done on a smartphone and it could
be a large project. The startup (JIT) could still be enough to make the
project a non-starter (so to speak). What I don't want to do is to spend
months writing this (very specialised) software only to have to abandon it
due to speed issues.
So, with respect to the above, is there any way that once it has been
jitted, that I can keep the jit rather than it being built when neccessary.
I would be happier to write the app in C# as I am more comfortable with it.
Looking on most of the forums, many are suggesting C++, especially as one of
the apps I want to write will be interacting with the RIL. I understand that
unless there is a managed wrapper somewhere for the RIL that I can't do
anything with C#. Any thoughts?
I have just had a look at the URL in your signature. I guess my favourites
are going to get a bit fatter now. :-)
As for developing with eVC++ (4.0), I am really struggling to get a start. I
can't find any real getting started guides that will lead me through to
writing applications from scratch. I guess the syntax wouldn't be such a
problem (once I get used to it), but not knowing the include files and not
having code completion is making it harder. If you know of any starting
points, that would be appreciated.
--
Best regards,
Dave Colliver.
http://www.AshfieldFOCUS.com
~~
http://www.FOCUSPortals.com - Local franchises available
"<ctacke/>" <ctacke[at]opennetcf[dot]com> wrote in message
news:eYXtJiRNIHA.1212@TK2MSFTNGP05.phx.gbl...
> Several points:
>
> 1. Managed code being slower than native is a myth. It's slower to start,
> but execution is often just as fast (I've done tests with an oscilloscope
> and you can't see any difference on a microsecond level. Managed code is
> only slower when JITting is necessary, once JITted, it's machine code,
> just like compiled C.
>
> 2. If you want to do C/C++ development, Visual Studio supports it - don't
> use the older eVC tools. They're deprecated.
>
> 3. eVB is dead and shouldn't be considered for any development.
>
> 4. eVB was interpreted and was certainly much slower than C/C++.
>
> 5. Go through the online examples for P/Invoke as well as passing
> delegates for callbacks. Those are the most common managed/native
> interfaces you'll use.
>
>
> --
>
> Chris Tacke, eMVP
> Join the Embedded Developer Community
>
http://community.opennetcf.com
>
>
>
> "David" <david.colliver.NEWS@revilloc.REMOVETHIS.com> wrote in message
> news:ObOFbpONIHA.2308@TK2MSFTNGP05.phx.gbl...
>> Hi all,
>>
>> I am a newbie on Pocket PC programming. I have been doing quite a bit of
>> research recently and have a few questions.
>>
>> I was going to write in .NET (probably C#) as I have good knowledge of
>> this in an ASP.NET environment. However, reading vaious forums suggests
>> that this is quite slow compared to native code using Visual C++ (eVC++)
>>
>> I have downloaded eVC++ and after about 4 days, managed to get a working
>> hello world app running. (Things missing, hardly any getting started
>> guides on the net and other stuff... I downloaded MANY MBs of different
>> software to get it going.)
>>
>> So, here is what I want to do. I am concerned about the speed, hence the
>> reason I am looking at eVC, but as I don't have any background experience
>> in C++, will probably struggle to get anywhere.
>>
>> eMbedded Visual Tools comes with visual basic as well as C++.
>> Would VB built with eVB also be faster than .NET?
>>
>> Are there any eVC programming tutorials around that will help me to get
>> to grips with the language? (for example, step by step to creating some
>> simple applications, the step by step being suitable for a newbie. I have
>> yet to find anything.)
>>
>> Can eVC and eVB easily communicate with .NET webservices?
>>
>> Ultimately, I will also want to communicate directly with the inbuilt
>> phone hardware / software, such as communicating with the RIL and getting
>> the IMEI information. I know that .NET cannot connect to the RIL
>> properly.
>>
>> Parts of the app I want to build could be done in .NET, others in C++. Is
>> there easy ways of communicating, for example, if I were to write a C++
>> app that contacted the RIL, could I get the C# app to talk to my C++ app
>> to get the information?
>>
>> I will probably have many more questions, but these will help me to make
>> an informed decision as to which way I should go. Aside from these, your
>> advice would probably be useful.
>>
>> --
>> Best regards,
>> Dave Colliver.
>>
http://www.AshfieldFOCUS.com
>> ~~
>>
http://www.FOCUSPortals.com - Local franchises available
>>
>
>