D vs nim

rikki cattermole rikki at cattermole.co.nz
Tue Mar 27 12:25:36 UTC 2018


On 28/03/2018 1:02 AM, jmh530 wrote:
> On Wednesday, 22 April 2015 at 06:03:07 UTC, Timothee Cour wrote:
>> [snip]
>>
>> I would like to refocus this thread on feature set and how it compares 
>> to D, not on flame wars about brackets or language marketing issues.
> 
> In the comparison you made
> https://github.com/timotheecour/D_vs_nim/
> you say the CTFE engine for nim is a register VM. Stefan Koch's new CTFE 
> is a bytecode interpreter. Is there an advantage of one over the other?
All application VM's use bytecode interpreters at some point in its layers.

Register versus stack VM's don't make too much of a difference.

newCTFE appears to be stack, just like .net CLR, JVM and Lua.


More information about the Digitalmars-d mailing list