Is there any language that native-compiles faster than D?

James Lu jamtlu at gmail.com
Wed Aug 26 16:05:23 UTC 2020


On Wednesday, 26 August 2020 at 13:16:08 UTC, Andrei Alexandrescu 
wrote:
> On 8/25/20 9:13 PM, James Lu wrote:
>> V8 JavaScript compiles faster:
>> 
>> $ d8 --always-opt --trace-opt --single-threaded 
>> --no-compilation-cache mandelbrot.js | ts -s "%.s"
>
> Interesting. What is the result of that compilation? A 
> traditional binary file, or a webassembly?

In an earlier post from me in this thread, I added together V8's 
internal timing to suggest that its codgen (SSA building, SSA 
optimization, conversion to machine code) phase runs 100 times 
faster than LLVM on similar code in D.


More information about the Digitalmars-d mailing list