|
|
|
|
|
by pcwalton
4690 days ago
|
|
> I don't know why we don't do this more often, most c++ codebases seem to have large sections that would benefit from such a style. Because you will sacrifice performance over Java's GC. For maximum performance you really want precise garbage collection on both stack and heap, with generational concurrent operation and a two space copying collector in the nursery. Boehm can't provide this, because the language is not designed for GC. |
|
This might be a dumb question but what run-times have a garbage collected stack? I Googled around but did not really find anything.