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

Paolo Invernizzi paolo.invernizzi at gmail.com
Wed Aug 26 13:45:39 UTC 2020


On Wednesday, 26 August 2020 at 13:07:03 UTC, drug wrote:
> On 8/26/20 4:02 PM, ketmar wrote:
>> you're right... with the current backend. but with universal 
>> SSA backend, once you lowered the code to SSA, it doesn't 
>> matter anymore. for native code, lowering engine can emit 
>> direct memory manipulation SSA opcodes, and for CTFE it can 
>> emit function calls. the backend doesn't care, it will still 
>> produce machine code you can either write to disk, or run 
>> directly. or don't even bother producing machine code at all, 
>> but run some SSA optimisers and execute SSA code directly.
>
> What are disadvantages of SSA based backend?

If I'm not wrong, from what I remember LLVM IR is SSA, for I 
guess there's a lot of literature around pro and versus the SSA 
approach...




More information about the Digitalmars-d mailing list