---
title: "JavaScript (hard)"
description: "JavaScript language, Node.js or npm ecosystem"
url: "https://swe.quest/tags/javascript?difficulty=hard&per=96"
---

# JavaScript (hard)

Topic in Languages: JavaScript language, Node.js or npm ecosystem

By difficulty: [Easy](https://swe.quest/tags/javascript.md?difficulty=easy) · [Medium](https://swe.quest/tags/javascript.md?difficulty=medium) · [Hard](https://swe.quest/tags/javascript.md?difficulty=hard)

Posts 1–12 of 12, page 1 of 1, newest first.

## 2026-04-30

- [This Month in Ladybird - April 2026](https://swe.quest/articles/this-month-in-ladybird-april-2026-0e41fa3074ca6830.md): Ladybird · 2026-04-30 · Hard · 13 min read · Browsers, Runtimes & VMs, Performance engineering, JavaScript, CSS
  Ladybird's April 2026 work centered on performance: incremental and speculative HTML parsing, off-thread JavaScript bytecode compilation (about 200ms moved off the main thread on YouTube), per-Navigable threaded rasterization, and an O(1) bytecode register allocator that removed ~800ms on x.com.

## 2025-08-04

- [How we made JSON.stringify more than twice as fast](https://swe.quest/articles/how-we-made-json-stringify-more-than-twice-as-fast-a8feda7c2e371e2a.md): V8 · 2025-08-04 · Hard · 7 min read · Runtimes & VMs, JavaScript, Performance engineering, Browsers
  V8 more than doubled JSON.stringify throughput on the JetStream2 json-stringify-inspector benchmark by adding an iterative, side-effect-free fast path that skips the general serializer's defensive checks.

## 2025-03-25

- [Land ahoy: leaving the Sea of Nodes](https://swe.quest/articles/land-ahoy-leaving-the-sea-of-nodes-b461320cb50dc764.md): V8 · 2025-03-25 · Hard · 25 min read · Compilers, Runtimes & VMs, JavaScript, WebAssembly
  V8 is replacing Sea of Nodes in its Turbofan optimizing compiler with Turboshaft, a traditional control-flow-graph IR.

## 2025-02-25

- [Turbocharging V8 with mutable heap numbers](https://swe.quest/articles/turbocharging-v8-with-mutable-heap-numbers-d32025b1d5ea1f1c.md): V8 · 2025-02-25 · Hard · 5 min read · Runtimes & VMs, Compilers, JavaScript, Performance engineering, Memory management
  V8 eliminated a performance cliff in JetStream2's async-fs benchmark caused by a custom Math.random whose \`seed\` lives in a ScriptContext slot.

## 2024-11-05

- [How Bun supports V8 APIs without using V8 (part 2)](https://swe.quest/articles/how-bun-supports-v8-apis-without-using-v8-part-2-d765ff746fe7a86a.md): Bun · 2024-11-05 · Hard · 18 min read · Runtimes & VMs, JavaScript, C & C++, Memory management
  Bun emulates V8's memory layout on top of JavaScriptCore so that precompiled native addons, which inline V8 functions assuming specific pointer layouts, keep working.

## 2024-09-30

- [How Bun supports V8 APIs without using V8 (part 1)](https://swe.quest/articles/how-bun-supports-v8-apis-without-using-v8-part-1-ff8148b61cb465d8.md): Bun · 2024-09-30 · Hard · 19 min read · Runtimes & VMs, C & C++, JavaScript, Memory management
  Bun, which runs on JavaScriptCore, implements a growing subset of V8's C++ embedding API so Node.js native modules like cpu-features load without V8.

## 2024-02-05

- [Static Roots: Objects with Compile-Time Constant Addresses](https://swe.quest/articles/static-roots-objects-with-compile-time-constant-addresses-91e4d5de9f87687b.md): V8 · 2024-02-05 · Hard · 4 min read · Runtimes & VMs, Memory management, Performance engineering, JavaScript, C & C++
  V8's static roots place the read-only heap at the start of every pointer-compression cage and generate it deterministically, so core objects like \`undefined\` get compressed addresses known at compile time (e.g. \`undefined\` is always 0x61).

## 2023-09-14

- [Deno KV internals: building a database for the modern web](https://swe.quest/articles/deno-kv-internals-building-a-database-for-the-modern-web-61dddae321d95df6.md): Deno · 2023-09-14 · Hard · 10 min read · Distributed databases, Consistency models, Storage engines, JavaScript
  Deno KV's production backend runs on FoundationDB, with a custom "transaction layer" in front of it that handles multi-tenant configuration, JavaScript-native types such as bigint sums, and cross-region replication.

## 2022-07-29

- [Understanding Garbage Collection in JavaScriptCore From Scratch](https://swe.quest/articles/understanding-garbage-collection-in-javascriptcore-from-scratch-6bc19cc2aad39444.md): WebKit · 2022-07-29 · Hard · 52 min read · Memory management, Runtimes & VMs, JavaScript, Concurrency
  JavaScriptCore's garbage collector is non-compacting, generational and mostly concurrent, with heavy use of lock-free programming.

## 2022-07-20

- [Using Hermes’s Quicksort to run Doom: A tale of JavaScript exploitation](https://swe.quest/articles/using-hermes-s-quicksort-to-run-doom-a-tale-of-javascript-exploitation-218717db846741cf.md): Meta Engineering · 2022-07-20 · Hard · 12 min read · Vulnerability research, Runtimes & VMs, JavaScript, Memory safety, C & C++
  A fuzzer-found bug in Hermes's stable Quicksort let a comparator callback grow the array during Array.prototype.sort, so the fixed-size index vector was read out of bounds.

## 2021-07-28

- [Optimizing JavaScript Standard Library Functions in JSC](https://swe.quest/articles/optimizing-javascript-standard-library-functions-in-jsc-1faf7ca6f0ee5e50.md): WebKit · 2021-07-28 · Hard · 6 min read · Runtimes & VMs, Compilers, JavaScript, Browsers, Performance engineering
  JavaScriptCore speeds up Function.prototype.toString by stacking several general optimizations that together reduce a call like f.toString() to a constant string.

## 2021-06-08

- [Implementing Private Fields for JavaScript](https://swe.quest/articles/implementing-private-fields-for-javascript-8819b22a710ef7c1.md): Mozilla Hacks · 2021-06-08 · Hard · 11 min read · Runtimes & VMs, JavaScript, Language design, Browsers
  SpiderMonkey implements JavaScript private fields as hidden properties keyed by special PrivateName symbols, diverging from the specification's per-object \[\[PrivateFieldValues\]\] list so it can reuse the engine's already-optimized property machinery.

Same list as RSS: [https://swe.quest/feed.xml?difficulty=hard&tag=javascript](https://swe.quest/feed.xml?difficulty=hard&tag=javascript). Lists take `?page=`, `?per=12|24|48|96` and, on the home page, `?tag=` (up to 3), `?source=`, `?difficulty=easy|medium|hard` and `?search=`.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
