4 ms·
D is able to run without its runtime and GC. https://dlang.org/spec/betterc.html https://dlang.org/spec/betterc.html And an older link: https://www.auburnsou
by AH2mdte8kPnJS 7y ago
D is able to run without its runtime and GC.
https://dlang.org/spec/betterc.html https://dlang.org/spec/betterc.html
And an older link:
https://www.auburnsounds.com/blog/2016-11-10_Running-D-without-its-runtime.html https://www.auburnsounds.com/blog/2016-11-10_Running-D-witho...
- roca 7y agoAble to run, yes. But it is not the default, ergonomic way to write D code like it is in C, C++ and Rust.
- pjmlp 7y agoThankfully, GC offers productivity and allows for safe code by default, while D still offers the necessary language features to do all the low level tricks from C, C++, Rust, Objective-C, if one actually needs to go down that level.
- ComputerGuru 7y agoIf I hadn’t already embraced C# for that sort of thing, I’d probably have turned to D years ago. Between C# and Rust, I rarely find myself needing other tools aside from Makefiles and shell scripts.
- roca 7y agoI like being able to write safe and GC-free code by default. Rust would be even better if it was possible to opt into GC, but I would still want to to be GC-free by default. It's good that the entire library ecosystem has grown up GC-free and that should continue.