More on C++ stack arrays

Paulo Pinto pjmlp at progtools.org
Tue Oct 22 11:02:57 PDT 2013


Am 22.10.2013 19:51, schrieb deadalnix:
> On Tuesday, 22 October 2013 at 15:07:47 UTC, Paulo Pinto wrote:
>> Just thinking out loud, I would say it is JVM specific how much the
>> implementors have improved escape analysis.
>>
>
> Even better, some does it even when escape analysis isn't proven, just
> noticed at runtime. If it turns out the JVM is wrong, the object is
> moved on head at the escape point.

Yep, I must confess I keep jumping between both sides of the fence about 
the whole JIT vs AOT compilation, depending on the use case and
deployment scenario.

For example, as language geek it was quite interesting to discover how
OS/400 has a kernel JIT with a bytecode based userspace. Or that there
were Native Oberon ports that used JIT on module load for the whole OS,
instead of AOT. Only the boot loader, some critical drivers and the 
kernel module were AOT.

--
Paulo


More information about the Digitalmars-d mailing list