• Static module resolution

    I haven’t spoken enough about the rationale for declarative, static module resolution in ES6 modules. Since multiple module systems exist in pure JS, the concept of modules that involve new syntax is coming across as foreign to people. I’d like to explain the motivation.

    Read on →

  • The little-endian web!

    This feels a little bit like the web platform having opened a door to hell and Zombies running out of it. I wonder if we can ever close it again. – Malte Ubl

    Let’s see if we can. I’ve had a bunch of productive conversations since my post the other day.

    Read on →

  • The little-endian web?

    Here’s the deal: typed arrays are not fully portable. On most browsers, this code will print 1:

    var a1 = new Uint32Array([1]);
    var a2 = new Uint8Array(a1.buffer);
    console.log(a2[0])
    

    Read on →