Large statics
    Cecil Ward 
    cecil at cecilward.com
       
    Sun Jun 25 20:41:34 UTC 2023
    
    
  
The docs say that there is a limit on the size of large statics 
of 16 MB. Is it desirable to remove this limit ? I realise that 
with new code there is the option to alloc the space instead 
where the static is uninitialised. There are other possibilities, 
such as an object filled with compile-time generated data maybe. 
The documentation also points out the crazy but understandable 
bloat on the exe size.
Is it possible to place a large object in BSS by using
   ubyte arr[ enormous ] = void;
    
    
More information about the Digitalmars-d-learn
mailing list