Skip to main content

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

UB5.230 | Day 2 | 09:30 - 10:00 | Speakers: Aapo Alasuutari

How to lose weight? - Optimising memory usage in JavaScript and beyond
A picture of a devroom at FOSDEM 2024
Open in browser

Notes

Abstract

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

Notice: The placeholder video image is licensed under CC BY-SA 4.0. The original image can be found hereChanges made to the image are: Cropped the image to a new ratio, part of the image was cut off.