What does the -betterC switch in dmd do?
    Jacob Carlborg via Digitalmars-d-learn 
    digitalmars-d-learn at puremagic.com
       
    Sun Nov 15 07:34:19 PST 2015
    
    
  
On 2015-11-12 23:24, Justin Whear wrote:
> I believe the purpose of the switch is to help folks who are trying to
> write for bare or embedded systems by not emitting references to the D
> runtime library and runtime module information.  Whether it actually does
> that in its current implementation is another question.
I'm pretty sure that the only things that are excluded are module info 
and type info. It's still possible to use "new" and all the array 
features that requires support in the runtime (slicing, concatenation, 
appending and so on).
-- 
/Jacob Carlborg
    
    
More information about the Digitalmars-d-learn
mailing list