How hard would it be to create a new backend in D?

welkam wwwelkam at gmail.com
Sat Aug 6 18:52:07 UTC 2022


On Saturday, 6 August 2022 at 18:35:18 UTC, Paul Backus wrote:
> On Saturday, 6 August 2022 at 18:02:34 UTC, welkam wrote:
>> But where is inliner located? I read that several other 
>> languages (Jai, Zig) are trying to make their own x86_64 
>> backends because GCC and LLVM are too slow. If DMD backend had 
>> its IR well documented and inliner implemented not in the 
>> frontend I could see a future where it could be used by other 
>> languages.
>
> DMD's inliner is being moved to the backend:
>
> https://github.com/dlang/dmd/pull/14194

Awesome.


More information about the Digitalmars-d mailing list