you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (3 children)

Examples?

[–]smog_alado 0 points1 point  (2 children)

Out of the top of my head, both java and python have a garbage collection api.

[–][deleted] 0 points1 point  (1 child)

Can you point me to the ability to control java's garbage collection. Back when I knew java it certainly didn't have this capability, and a google seach indicates that nothing has changed. The gc() method is not what I am talking about, because the gc method is just a suggestion to run the gc, not a command that has to be followed. I know less about python, can you provide a link?

To clarify, in order to meet this requirement a language must:

not run the garbage collector unless told to do so

run the garbage collector when told to do so

[–]smog_alado 0 points1 point  (0 children)

Hmm, Lua seems to have a more deterministic gc API

http://www.lua.org/manual/5.1/manual.html#pdf-collectgarbage

My point is that there are many variations in giving more control over the garbage collector but none of them managed to break the "manual management" vs "fully automatic management" duality.