Brussels / 1 & 2 February 2025

schedule

How to lose weight? - Optimising memory usage in JavaScript and beyond


In this talk we'll take a look at strategies, tips, and tricks for optimising memory usage in not only JavaScript but software in general. The core ideas come from databases and data-oriented design principles, storing data efficiently and taking advantage of context knowledge on the data you work with. Reasoning about the memory usage of a JavaScript program also requires looking into the internal workings of JavaScript engines, which we'll cast a critical eye on. We then try to apply the strategies on a JavaScript engine, using the speaker's Nova engine as the end result example.

https://trynova.dev/

Speakers

Aapo Alasuutari