JavaScript Trie Performance Analysis
After my last post discussing dictionary lookups in JavaScript the unanimous consensus seemed to be that utilizing Trie would result in additional space savings and yield performance benefits.
CSS background image hacks
Emulating background image crop, background image opacity, background transforms, and improved background positioning. A few hacks relying on CSS pseudo-elements to emulate features unavailable or not yet widely supported by modern browsers.
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
MySQL.com currently Hacked (and serving javascript malware)
It looks like the MySQL.com website is currently hacked and compromised with a JavaScript malware (and serving malware to anyone visiting it). Our scanner identified…
JQuery 1.5 promises a better future.
One of the new features of the unreleased JQuery 1.5 is a new $.ajax module. Apart from many bug fixes, the most interesting, and useful par...
Eric Meyer's Reset Revisited
It was close to four years ago now that I first floated (ha!), publicly refined, and then published at its own home what's become known as the
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…
Matt Cutt's thoughts on Google Bing Debate
Earlier this week I was on a search panel with Harry Shum of Bing and Rich Skrenta of Blekko (and moderated by Vivek Wadhwa) and the video now live. It’s forty minutes long, but it covers a l…
The iPad 2
The iPad 2 is a solid second-generation iteration. Easier and more comfortable to hold, noticeably faster, equippable with foldable covers that are both literally and figuratively magnetic.
Team Fortress 2 in WebGL
Took the time to get the source and video demo for the Source Engine demo online tonight. Have a look! GitHub Source And of course d...
Five bugs in a single line of JavaScript
Today I've been working with a piece of third-party software. I was having big problems getting it working and decided to delve into its ...
DOM Snitch: Google's passive in-the-browser reconnaissance tool
By Radoslav Vasilev from Google Zurich Every day modern web applications are becoming increasingly sophisticated, and as their complexity ...
How Javascript Prototypal Inheritance Really works
Everywhere on the web we read that Javascript has prototypal inheritance. However Javascript only provides by default a specific case of prototypal inheritance with the new operator. Therefore, most of the explanations are really confusing to read. This article aims to clarify what is prototypal inheritance and how to…
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…