Why is D slower than LuaJIT?

bearophile bearophileHUGS at lycos.com
Wed Dec 22 16:51:46 PST 2010


loser:

> So is it justified enough to throw my W's incompetence card on the table at this point? How else it is possible that a simple scripting language with simple JIT optimization heuristics can outperform a performance oriented systems programming language.

It's not wise to prematurely improve the inlining a lot right now when there is no 64 bit version yet, and there are holes or missing parts in several corners of the language. Performance tuning has a lower priority.

Designing a good language and performance-tuning its implementation ask for different skills. The very good author of Lua-JIT is probably not good at designing a C++-class language :-) What's needed now is to smooth the rough corners of the D language, not to squeeze out every bit of performance.

Bye,
bearophile


More information about the Digitalmars-d mailing list