CTFE and Wasm

Dukc ajieskola at gmail.com
Sat Apr 30 09:50:26 UTC 2022


On Saturday, 30 April 2022 at 09:04:34 UTC, Ola Fosheim Grøstad 
wrote:
> A language that allows everything to happen at runtime has no 
> such hardcoded requirement. It has the advantage of fast 
> compilation of debug builds and being able to debug those using 
> the same debugging straregy as regular code.
>
> That is an advatage, obviously?

I think I now get it. You're talking about making D a fully 
interpreted language, capable of inspecting types and compiling 
code at runtime. That'd be great. But it'd also be a very big 
project to implement.

Perhaps, just perhaps, I could see it to happen if it meant 
embedding DMD as an optional component to DRuntime, and any 
runtime code generation would invoke it.

But devising a WASM or LLVM intermediate representation system 
for the langauge is just way beyond what we could tackle with the 
present contributor force.


More information about the Digitalmars-d mailing list