Hacker News new | ask | show | jobs
by creativemonkeys 1527 days ago
As far as I can tell, D already implements this idea. The Rust/RustGC duality is very similar to D's approach, which has manual memory management and an optional GC [1], and DMDScript [2] could be the scripting language.

[1] https://dlang.org/spec/garbage.html

[2] https://github.com/DigitalMars/DMDScript

1 comments

D is the scripting language. The whole benefit of D for the company I work for is that we only have one language.
Sil is distinct from d, and has distinct goals.
If we did SIL in C++ there's a good chance it'd have something like the UE4 header preprocessor to deal with all the hooks/metaprogramming we were able to D directly in D.