Why I'm Excited about D

deadalnix via Digitalmars-d digitalmars-d at puremagic.com
Tue Apr 7 17:59:12 PDT 2015


On Wednesday, 8 April 2015 at 00:28:50 UTC, Andrei Alexandrescu 
wrote:
> On 4/7/15 4:54 PM, deadalnix wrote:
>> On Tuesday, 7 April 2015 at 22:59:00 UTC, Walter Bright wrote:
>>> On 4/7/2015 3:30 PM, Andrei Alexandrescu wrote:
>>>> A JIT would pay off where it matters - intensive use of CTFE 
>>>> leading
>>>> to long
>>>> compilations. -- Andrei
>>>
>>> A decent interpreter would fix most of CTFE's performance 
>>> problems, no
>>> need to go as far as a JIT.
>>
>> What is a JIT if not an interpreter with hardware support ?
>
> Nah. It's a fundamentally different approach to the same 
> problem. -- Andrei

Not really when you think about it. CPU instruction is a bytecode 
like another, with provided hardware interpreter for it.

It is becoming common to have VM not going through the 
interpreter step (ie software interpreter) to go directly to low 
quality but fast codegen. V8 is doing this for instance.


More information about the Digitalmars-d mailing list