On Wednesday, 8 January 2014 at 01:27:28 UTC, Walter Bright wrote:
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.
-betterC? That flag isn't even documented. Though I suggest
renaming it to something that doesn't reference a different
language. -bare or -minimal or -noemit or something.