A Perspective on D from game industry
via Digitalmars-d
digitalmars-d at puremagic.com
Mon Jun 16 03:18:08 PDT 2014
On Monday, 16 June 2014 at 08:22:59 UTC, Paulo Pinto wrote:
>
> I have played around with C++ for a small graphics application,
> but note that the NDK does only support game related APIs.
>
> When using middleware like Qt, you have access to the majority
> of APIs but then have to pay the JNI marshaling cost.
Yep, this is true. For a while I believe that the swedish cross
platform product MoSync would pull it off by compiling C++ to
java etc. It was pretty nice for what it aimed to do, but
apparently the market was not ready for it and the
Android/iPhone/Windows platforms started to diverge their UIs at
a fast rate making cross platform design difficult.
You also have the Marmalade SDK which allows cross platform game
coding in C/C++, but it costs real money (coming from a game
studio).
Anyway, with Swift out, writing regular non-visual apps in that
language makes most sense, then porting it to Java. C++ can be
used for backend engines, but for anything in the user interface
it makes more sense to either special case it for the native APIs
or go HTML5.
More information about the Digitalmars-d
mailing list