[Python-ideas] Python 3000 TIOBE -3%
masklinn at masklinn.net
Thu Feb 9 19:50:20 CET 2012
On 2012-02-09, at 19:34 , Guido van Rossum wrote:
>> They all agree multi-core is the future and whichever language can deal
>> with them better is the future too.
> refcounting :-).
I don't think I've seen a serious refcounted JS implementation in the last
decade. , although it is possible that JS runtimes have localized usage
of references and reference-counted resources. AFAIK all modern JS
runtimes are JITed which probably does not mesh well with refcounting.
In any case, V8 (Chrome's runtime) uses a stop-the-world generational
GC for sure, Mozilla's SpiderMonkey uses a GC as well although
I'm not sure which type (the reference to JS_MarkGCThing indicates it
could be or at least use a mark-and-sweep amongst its strategies),
used a mark-and-sweep GC back in 2003 (although the DOM itself was
in COM, and reference-counted).
> And note that a
> single-threaded event-driven process can serve 100,000 open sockets --
> while no JVM can create 100,000 threads.
Only because it's OS threads of course, Erlang is not evented and has no
problem spawning half a million (preempted) processes if there's RAM
enough to store them.
 Since ~2009 http://www.masonchang.com/blog/2009/3/26/nitros-garbage-collector.html
More information about the Python-ideas