News for hackers. Stuff that matters.
Re:How JavaScript compilers work by acqq on Saturday June 08, 2013 @06:49PM (#5846628)
A very nice text with the nice code examples is:

http://mrale.ph/blog/2012/06/03/explaining-js-vms-in-js-inli...

Re:How JavaScript compilers work by thejsjunky on Saturday June 08, 2013 @08:08PM (#5846854)
If anyone wants to delve more into the workings of a JS VM, I've found the code of Higgs (https://github.com/maximecb/Higgs) to be very straightforward and readable. The interpreter and JIT are written in D and much of the run-time is written in JS. It's a successor to the Tachyon project mentioned in that post.