Best of 2011

The blog posts Hacker News loved most in 2011. 398 posts.

Web & Frontend
311

Golden Ratio for Readable Web Typography

This is the original introductory article to Golden Ratio Typography (GRT). The basic concepts you’ll find on this page are important for understanding GRT, but much of the math is now outdated (and has been replaced by updated formulae). For a more current and comprehensive look at all things GRT, check out the Golden

318

Faster JavaScript parsing

Over the past year or so I’ve almost doubled the speed of SpiderMonkey’s JavaScript parser. I did this by speeding up both the scanner ( bug 564369 , bug 584595 , bug 588648 , bug 639420 , bug 645598 ) and the parser ( bug 637549 ). I used patch stacks in several of those bugs, and so in those six bugs I actually…

330

SpiderMonkey is on a diet

One thing I’ve learnt while working for Mozilla is that a web browser can be characterized as a JavaScript execution environment that happens to have some multimedia capabilities. In particular, if you look at Firefox’s about:memory page, the JS engine is very often the component responsible for consuming the most…