Uphill

Nick Sabalausky via Digitalmars-d digitalmars-d at puremagic.com
Tue Jun 2 15:21:49 PDT 2015


On 06/01/2015 01:08 AM, Paulo Pinto wrote:
> On Monday, 1 June 2015 at 03:38:44 UTC, Manu wrote:
>> On 1 June 2015 at 10:56, ketmar via Digitalmars-d
>> <digitalmars-d at puremagic.com> wrote:
>>> On Sun, 31 May 2015 09:08:27 +0000, Joakim wrote:
>>>
>>>> Most mobile games are written in C/C++/OpenGL
>>>
>>> that will fade away soon. it's safe to ignore that in long-time plan.
>>
>> How so? Game dev's aren't moving away from native code any time soon...
>
>   Objective-C, Swift, Java (as of Android 5) and .NET on mobile OSes
> aren't no less native than D.
>
> All of them compile to pure native code. There isn't any VM running on
> the device.
>

That may be technically true, but the elimination of the VM still 
doesn't eliminate all the VM baggage.

The need for the languages to support their old VMs does still impose 
restrictions on the language designers, and thus language itself, that 
wouldn't need to exist had there been no VM at all.

Ex: No matter how aggressively AOT is used, manual memory management and 
controlling memory layout are still gonna be a royal pain in 
Java/Android5 and .NET. That's unlikely to go away without deprecating 
support for the VMs. But it IS likely to become more and more of a 
problem for those languages with performance being increasingly 
sensitive to data layout. Good news for D though ;)



More information about the Digitalmars-d mailing list