Hitchikers Guide to Porting Phobos / D Runtime to other architectures
Sean Kelly
sean at invisibleduck.org
Thu Jan 9 10:12:32 PST 2014
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.
More information about the Digitalmars-d
mailing list