VOOZH about

URL: https://thenewstack.io/ecmascript-specs-approved-and-how-google-sheets-used-wasmgc/

⇱ ECMAScript Specs Approved, and How Google Sheets Used WasmGC - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2024-06-29 04:59:46
ECMAScript Specs Approved, and How Google Sheets Used WasmGC
Frontend Development / JavaScript / WebAssembly

ECMAScript Specs Approved, and How Google Sheets Used WasmGC

The Ecma General Assembly approved the ECMAScript 2024 specification. Google Sheets uses Wasm to replace JavaScript, and Shopify dev updates.
Jun 29th, 2024 4:59am by Loraine Lawson
👁 Featued image for: ECMAScript Specs Approved, and How Google Sheets Used WasmGC

On Wednesday, the Ecma General Assembly approved the ECMAScript 2024 language specification, making the recommendations officially a part of the standard.

The new standards include a new way to create Promises that devs want to resolve, according to Axel Rauschmayer, a computer scientist who specializes in JavaScript, TypeScript and web development. Rauschmayer drills down on the new code standards, which are:

  • Grouping synchronous iterables
  • Promise.withResolvers()
  • Regular expression flag /v
  • New features for ArrayBuffers and SharedArrayBuffers
  • Ensuring that strings are well-formed
  • Atomics.waitAsync()

Google Sheets Team Used WasmGC to Replace JavaScript Calculation Engine

Google Sheets has found a use case for Wasm in the browser — or more precisely, Wasm Garbage Collection (WasmGC). It’s using WasmGC to replace its JavaScript calculation engine. The engine will now be Java code complied to WebAssembly, the team shared on Wednesday.

“At Google, we believe that WasmGC has the potential to be even more impactful than Wasm because of the popularity of garbage collected languages,” the post stated.

Google Sheet’s calculation engine, which handles calculations done with the spreadsheet, originally was built in Java with the calculations happened on the server. But starting in 2013, the engine ran in the browser using JavaScript.

“This was originally accomplished through Google Web Toolkit, and later through Java to Closure JavaScript transpiler,” the team explained. “The JavaScript calculation engine runs in a Web Worker and communicates with the main thread using a MessageChannel.”

The team used an internal validation mechanism, developed in-house, to validate the JavaScript version’s results and time against the Java version. They found that the JavaScript version was more than three times slower than the Java version.

The team explained why JavaScript is slower — it has to do with the loose types and dynamic behavior — and further outlined their process for refining the Sheets Wasm calculation engine, which at first was approximately two times slower than the JavaScript version.

“WasmGC is a powerful technology that has the potential to advance the way developers build web applications,” the team concluded. “Over the coming years, at Google, we hope to see WasmGC advance to support shared memory multithreading and further improve single threaded performance.”

Shopify’s New Developer Features

It’s been two years since Shopify, an e-commerce platform for building online stores, acquired Utopia, an open source integrated design and development environment for React. This week, that seems to be paying dividends: Shopify has integrated Utopia with its new Hydrogen Visual Editor, which is part of its Hydrogen stack for headless commerce framework.

The visual editor is a a WYSIWYG editor for headless storefronts that will bring “non-technical users into the editing flow and maximizing developer resources.”

So what does this do for frontend developers?

“With this new tool, you can stay in control of your builds as your code is always the source of truth,” the press release noted. “All changes sync to GitHub, with small and straightforward diffs. This means you can easily implement a custom interface your non-technical internal teams can use for simple copy and content changes, and templated page builds.”

Developers can also use existing tools such as VSCode, GitHub and CI/CD while merging branches and tagging releases to ship faster. Shopify noted that it had also made it easier to integrate data into pages, whether it’s from metaobjects, Shopify’s Storefront API or the organization’s own CMS. The visual editor will soon be available in early access.

The news was highlighted in a round up of developer updates for Shopify’s summer edition. Other items announced this week:

  • New Admin extensions, including a new print extension that enables easier order fulfillment tasks for merchants, such as printing invoices or packing slips. “All developers need to do is configure the extension and we’ll turn it into a printable asset by leveraging native browser capabilities,” the press release explained.
  • A Shopify Flow template app extension to allow attaching an automation to an app
  • Shopify Functions, which it notes have become more powerful with improvements to JSON parsing for JavaScript and a smaller Rust footprint
  • Updates to the Shopify CLI
  • Unified APIs with GraphQL
  • Declarative webhooks
  • .dev assistant, an AI-powered tool on Shopify.dev focused on helping developers learn and use Shopify’s GraphQL APIs.
TRENDING STORIES
Loraine Lawson is a veteran technology reporter who has covered technology issues from data integration to security for 25 years. Before joining The New Stack, she served as the editor of the banking technology site Bank Automation News. She has...
Read more from Loraine Lawson
SHARE THIS STORY
TRENDING STORIES
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.