December 28, 2013

Compiling to native code begets better performance

Todays with Mobile platforms such as IOS and Android, developers are faced with writing application targeted to several platforms. Of course developers want to do that with minimal effort. This is why the market of cross platform tools is growing.

Embarcadero do it well with RAD Studio XE5 (Includes Delphi and C++ Builder). There is an interesting article on NetworkWorld talking about the subject and comparing different solutions.



Follow me on Twitter
Follow me on LinkedIn
Follow me on Google+
Visit my website: http://www.overbyte.be
This article is available from http://francois-piette.blogspot.be

2 comments:

kmorwath said...

Delphi is compiling to native code, but not to native APIs, especially when it comes to the GUI. And that a big disadvantage, compared to fully native applications. What's better on Android? A Java Dalvik application using the native UI APIs, or another using the NDK and then reimplementing the UI and other services? It also means each app has a lot of duplicated code inside, and can't adapt to changes in the OS.

François Piette said...

You missed some point about Delphi XE5. Not only it compiles to native code (ARM processor and x86 processor), but also calls native API (NDK) as well as native Java Dalvik API. Delphi for Android can call any API actually. Delphi is all about writing cross platform applications. Some people have implemented native Android UI controls for Delphi but then you loose cross platform. Same for your Java Dalvik application: you can rewrite almost everything when you'll make the iOS version. With Delphi you can easily create one application (single source code) for Windows, MAC, iOS (iPad, iPhone) and Android. If you don't need it, don't use it...