https://issues.dlang.org/show_bug.cgi?id=14758

Martin Nowak <c...@dawg.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |c...@dawg.eu

--- Comment #10 from Martin Nowak <c...@dawg.eu> ---
> There have been proposals to add a -nortti flag to the compiler to remove 
> TypeInfo completely, but that would force a compromise on slicing, postblit 
> and other features.  Such compromises are most undesirable.

There are very few places where dynamic type info is actually necessary, it's
just that they were used by the old C style compiler runtime interface.
The remaining places are mostly GC, rt.lifetime, and currently the AA.
I don't think you can properly use D on a small SoC with TypeInfo or
ModuleInfo.
Please try the -betterC switch, it's supposed to avoid all runtime
dependencies.

--

Reply via email to