Get the latest tech news

Google Sheets ported its calculation worker from JavaScript to WasmGC


Calculations in Google Sheets were initially done on the server, then on the client in JavaScript, and now on the client in WebAssembly Garbage Collection. This case study explains how and why.

To ensure that the JavaScript calculation engine produced precisely the same results as the Java version, the Sheets team developed an internal validation mechanism. Sheets, a part of Workspace, was identified as an ideal candidate for evaluating WasmGC: it is performance-sensitive and has robust performance and correctness validation mechanisms. Thank you for those who worked on the WasmGC implementation and this case study: Diwas Adhikary, Matthew Albright, Ksenia Bukina, Julien Dramaix, Asim Fazal, Michael Frederick, Goktug Gokdogan, Janice Gu, Adam Klein, Manos Koukoutos, Jakob Kummerow, Matthias Liedtke, Thomas Lively, Roberto Lublinerman, Vishrut Mehta, Thomas Nattestad, Josh Pearlstein, Joaquim Perotti, Chris Ruenes, Steven Saviano, Derek Schuff, Tim Sears, Michael Thomas, Yuan Tian, Philipp Weis, Mason Wu, Alon Zakai, and Emanuel Ziegler.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Google Sheets

Google Sheets

Photo of javascript

javascript

Photo of wasmgc

wasmgc

Related news:

News photo

The many faces of undefined in JavaScript

News photo

Show HN: I built a JavaScript-powered flipdisc display

News photo

Polyfill.io JavaScript supply chain attack impacts over 100K sites