Longer-form serial articles

Display mode

Back to Home

GameBoy Emulation in JavaScript (Feb 2011)
JavaScript is often perceived as a Web scripting language, with a specialist purpose of manipulating HTML pages. JavaScript is, however, a general-purpose Turing-complete language: the best way to illustrate this is to emulate another system through JavaScript. In this series I explore how to build an interpretive emulator in JS, with the example of the GameBoy.
Let's Build a JPEG Decoder (May 2013)
The JPEG image format is a bit of a black box for many: files go in and images come out. Looking inside the box reveals a bunch of interesting algorithms and ideas, so writing a JPEG decoder makes for an interesting exercise.