the avatar image of Benjamin Bouvier

A primer on code generation in Cranelift

(2021-02-17)

Cranelift is a code generator written in the Rust programming language that aims to be a fast code generator, which outputs machine code that runs at reasonable speeds.

Making calls to WebAssembly fast and implementing anyref

(2018-07-04)

Since this is the end of the first half-year, I think it is a good time to reflect and show some work I’ve been doing over the last few months, apart from the regular batch of random issues, security bugs, reviews and the fixing of 24 bugs found by our fuzzers.

Making asm.js/WebAssembly compilation more parallel in Firefox

(2016-04-22)

In December 2015, I’ve worked on reducing startup time of asm.js programs in Firefox by making compilation more parallel. As our JavaScript engine, Spidermonkey, uses the same compilation pipeline for both asm.js and WebAssembly, this also benefitted WebAssembly compilation. Now is a good time to talk about what it meant, how it got achieved and what are the next ideas to make it even faster.