Pauses
Posted Jun 22, 2010 20:30 UTC (Tue) by
nix (subscriber, #2304)
In reply to:
Pauses by i3839
Parent article:
The Managed Runtime Initiative
For complication/translation/optimization stuff you generally can just allocate everything you need and throw everything away afterwards, e.g. at program exit.
Hang on, I thought people were complaining that GCC used too much memory? This would make its memory use balloon insanely (many gigabytes to compile any nontrivial program).
Compilation always creates many intermediate data structures, many of which are elaborate graphs or have pointers to each other. You really do want to throw them away when you can, and you really do not want to do this by hand.
(
Log in to post comments)