Tag: javascript

History of IE JS GC

What happens when you have a web page, ASP page or WSH script with both VBScript and JScript? JScript and VBScript know nothing about each others garbage collection semantics. A VBScript program which gets a reference to a JScript object just sees another COM object. The same for a VBScript object passed to JScript. A circular reference between VBScript and JScript objects would not be broken and the memory would leak (until the engines were shut down). A noncircular reference will be freed when the object in question goes out of scope in both language (and the JS GC runs.)

the history of the IE6 Javascript GC, from the horse’s mouth

Happy New Resig!

I am pleased as punch to announce that John Resig is sidling up beside Mark to add some more firepower to our developer support capabilities. John is an accomplished writer of both code and prose, and seems pretty fired up about putting those twin gifts to work in service of developers, add-on and web-stuff both. He’s jresig on IRC, and as with Mark and Sheppy you’ll see his fingerprints all over our developer support story in the weeks and months to come.

this is good news. john resig is awesome.

Ruby Grammar Visualization

As part of the momentum surrounding the Ruby implementer’s summit, I have decided to take on a pet project to understand Ruby’s grammar better, with the goal of contributing to an implementation-independent specification of the grammar. Matz mentioned during his keynote how parse.y was one of the uglier parts of Ruby, but just how ugly?

with comparisons to java and javascript. fascinating, even though it is not apparent what it means