asdlGen Reference Manual : Using the Code Produced : Memory Management
Previous: Using the Code Produced
Next: Cyclic Data Structures Caveat

4.1. Memory Management

Currently the code produced by asdlGen uses the standard memory management facilities of the output language. However, asdlGen, assumes a garbage collect environment and does not automatically provided deallocation functions in languages without garbage collection. For languages like C and C++ that do not have garbage collection there exist freely available packages such as the http://reality.sgi.com/employees/boehm_mti/gc.html. Future plans are to provide interfaces to allow for finer grain control over aspects of allocation and deallocation for languages without garbage collection.


asdlGen Reference Manual : Using the Code Produced : Memory Management
Previous: Using the Code Produced
Next: Cyclic Data Structures Caveat