Programming Language for Games, part 3

thedeemon via Digitalmars-d digitalmars-d at puremagic.com
Tue Nov 4 03:26:49 PST 2014


On Sunday, 2 November 2014 at 18:04:18 UTC, Ary Borenszweig wrote:

> About the bytecode he generates: as someone said in the reddit 
> discussion, having to maintain two separate language 
> implementations (compiled and interpreted) can lead to small 
> and subtle bugs. And, running code via an intepreter is slower 
> than compiled code, even if the interpreter is really good. So 
> I don't think the bytecode stuff is a really good idea.

Well, D maintains several implementations (interpreter for CTFE 
and the backends), and the interpreter doesn't even use byte code 
so it's probably even slower. Is it really a problem? Sometimes, 
probably, but not too often.


More information about the Digitalmars-d mailing list