Terrence Cole (2013-11-07T17:19:51.000Z)
domenic at domenicdenicola.com (2013-11-17T17:49:57.079Z)
On 11/06/2013 07:37 PM, K. Gadd wrote: > Based on the conversations thus far, a choice just has to be made between > the two downsides: exposing some amount of GC internals, or making it > impossible to write some subset of applications in ES. This is a false dichotomy. At the extreme, we could simply ship a new builtin resource manager which has it's own GC behaviour that we can expose at will. Given that the sorts of resources that people want to use the memory GC to manage generally have very different cost and volume tradeoffs than memory [1], this is actually much more reasonable than it sounds. The real problem with weak things is that they do have a performance impact on the GC, even when not used. Missing weak-maps can at least be worked around; a slow environment cannot. [1]: http://www.mail-archive.com/[email protected]/msg00572.html