On 1/6/2014 3:47 AM, Dwhatever wrote:
Compared to C/C++, D is very hard to get to work in the embedded/OS less environment because of this.
It's not that hard. Use the -betterC switch to prevent ModuleInfo records and their dependencies from being emitted, and then you can write D code that has zero dependence on druntime or phobos.
I've used this to port D to new platforms that have no druntime or phobos, because I need a working & tested compiler to compile those two.