Home > codebits2010

codebits2010

Codebits2010 is a project mainly written in ..., it's free.

Human-powered Javascript Compression for Fun and Gummy Bears

Codebits 2010

Human-powered Javascript Compression for Fun and Gummy Bears

Accompanying code for my talk at Codebits 2010.

Synopsis

Javascript is teh sh*t.

Apart from performance reasons, compressing Javascript is a hot topic, e.g., due to contests like 10K Apart or js1k. Current software-based Javascript compression techniques aren't as good as humans.

The goal of this hands-on talk is to mind bend your knowledge on Javascript. I promise to commit as many sacrileges and profanities to the Javascript language as humanely possible.

We'll start with a nice script - feel free to suggest some in the comments - establish a goal in terms of bytes, and keep compressing until the goal has been reached or Entropy limits arise.

At the end, you're either slap me or kiss me. Either way, I hope you'll enjoy it (the talk, not the kiss).