Has anyone ever successfully tried to carve out a “GC-free” subset of some GC’d language? All of the attempts I can think of have been failures.
-
-
I think you could write a limited scripting language specifically to avoid GC, but not be "general purpose". E.g. only unique_ptr. All memory that can't be "owned" has to be managed by some system in C (maybe with some kind of syntactically pleasant weak handle to such objs).
-
I think for games in particular this could work well. Data is usually owned by various "systems" anyway. I've heard of several varieties of this but nothing public. Although I guess UE4 blueprints aren't far off (_could_ be done largely unchanged without GC... it just isn't).
End of conversation
New conversation -
-
-
Turning off the Python GC and restarting the process when memory consumption is too high seem to work for some web services
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.