My Long Term Vision for the D programming language

rikki cattermole rikki at cattermole.co.nz
Sat Nov 20 03:38:01 UTC 2021


On 20/11/2021 4:27 PM, Ola Fosheim Grøstad wrote:
> I had an idea for a LLVM hack, but Apple ARC engineers pointed out that 
> there were issues to me so I consider that to be unworkable. Meaning: I 
> trust their experience. So you have to do it over a suitable high level 
> IR. I don't think D has that... At least not to my knowledge.

Yeah, the DFA probably does get gnarly beyond certain patterns.

And truth be told I think we *do* need to build that IR at some point, 
because right now with the return ref and all those attributes its just 
garbage that humans have to write that rather than letting the compiler 
figure it out.


More information about the Digitalmars-d mailing list