3 ms·
In D you can do everything with automatic memory management (garbage collection) if you like. It does make for quick development. You can also do explicit memo
by WalterBright 4y ago
In D you can do everything with automatic memory management (garbage collection) if you like. It does make for quick development.
You can also do explicit memory management, which of course takes more programmer effort.
It turns out most programs wind up using a mix of the two, as GC is better for some things, and explicit is better for others.
- lcall 4y agoThanks, that is interesting. I mentioned Rust because of its broader use and apparent growth trajectory. Ie, to have the likeliest most uses in the most places, with minimal re-learning of a new language to work on a new codebase. Or to increase the odds when possible, at least (scripting but also Linux kernel use, etc). I will keep D more in mind though...is it on openbsd? (Edit: I see it is probably at least there via gcc, at least.)
- mhh__ 4y agoD support for OpenBSD via GCC and dmd should be ok. Brian Callahan is a name to look for in the blogosphere. Also the D in gcc is full fat D, no "at least" required.