News roundup: Crankshaft, WebSockets disabled, 3d Christmas tree
Crankshaft for V8
There’s also an interesting note explaining that Crankshaft has a less noticeable effect for smaller scripts, such as those in the SunSpider benchmark:
“The idea is to heavily optimize code that is frequently executed and not waste time optimizing code that is not. Because of this, benchmarks that finish in just a few milliseconds, such as SunSpider, will show little improvement with Crankshaft. The more work an application does, the bigger the gains will be.”
WebSockets disabled by default because of caching proxy vulnerability
This post at the Pusher App blog offers a bit of a level-headed explanation, explaining that the vulnerability isn’t with WebSockets itself, but with buggy caching proxies which are susceptible to cache poisoning. It offers the explanation that the vulnerability was detected with Java and Flash clients, and has probably been in the wild for quite a while with technologies other than WebSockets. It’s only now come up likely because of the expected scrutiny and poking around on a new up-and-coming technology like WebSockets.
It’s interesting to note that Chrome was going to follow suit and also disabled WebSockets by default, but decided to leave it on, in favor of using a different handshaking mechanism (CONNECT) that appears to be immune to the vulnerability.
Christmas tree in canvas (JS1k)
With the Christmas JS1k competition under way, a few entries are starting to make the rounds! This canvas-based 3d rotating Christmas tree is quite impressive all on its own, and even more impressive considering it’s 1023 bytes, just one character short of the 1k limit.
Node.js Camp SF (Dec 14, 2010 in San Francisco)
The Faster Websites Online Conference (Dec 16, 2010 online)
JS Boot Camp (February 10-11, 2011 in Reston, Virginia, US)
JSConf 2011 (May 2-3, 2011 in Portland, Oregon, US)
NodeConf 2011 (May 5, 2011 in Portland, Oregon, US)
A Web of Sync: Sencha developer James Pearce discusses MVC and the open web stack.
htracr: a packet sniffer and visualisation tool for HTTP (in node.js)
LivelyCouch: a framework that integrates Node.js with CouchDB and is driven by HTTP events
jquery Mobile + CouchDB: Part 1 – Getting Started
Implementing a Fixed Position iOS Web Application
BitmapData.js: HTML5 Canvas API implementation of the AS3 BitmapData class.
InfoQ: Yehuda Katz Discusses SproutCore
DailyJS: Node Tutorial Part 5
High Performance Web Sites :: Evolution of Script Loading
Backbone.js: Introducing The Backbone Store! by Elf Sternberg
HTML5 Script Execution Changes in Firefox 4 Beta 7
sprite.js: a framework that lets you create animations and games using sprites in an efficient way
Animating Isosurfaces with WebGL and Workers