What's coming to JavaScript
TC39's 108th meeting advanced nine JavaScript proposals. Explicit Resource Management (`using`/`await using` with `Symbol.dispose`), `Array.fromAsync` and `Error.isError` reached stage 4, and Immutable `ArrayBuffer` (`transferToImmutable`, `sliceToImmutable`) reached stage 3. Earlier-stage proposals include seeded PRNGs, `Number.prototype.clamp`, `Intl.NumberFormat` trailing-zero control, a standard value-inspection format for diffs, and a `Random` namespace for sampling and shuffling. Each proposal comes with code examples and runtime support status, and Deno plans to use immutable buffers to avoid copies and disposable `AsyncContext.Variable` to simplify tracing spans.
Related posts
- Bun v1.3.7
Bun mediumAdept
Bun v1.3.7 upgrades JavaScriptCore, which brings faster async/await (35%), Array.from, padStart/padEnd, array.flat and better ARM64 codegen using ccmp/ccmn chains. It also speeds up Buffer.from() with arrays by up to 50% and Buffer.swap16/swap64 by 1.8x and 3.6x through CPU intrinsics. New APIs include Bun.wrapAnsi (33–88x faster than the wrap-ansi npm package), native JSON5 parsing and imports, and Bun.JSONL with streaming parseChunk. For diagnostics there is Markdown CPU and heap profile output, --heap-prof heap snapshots and the node:inspector Profiler API. Compatibility fixes cover header case preservation in fetch, S3 presign options, bun pm pack lifecycle scripts, Indic grapheme clustering and Next.js 16 timer internals.
- Bun v0.3.0
Bun mediumAdept
Bun v0.3.0 focuses on stability and Node.js/Web API compatibility, cutting memory use 3-5x under load by scheduling garbage collection in coordination with the event loop and speeding up TextEncoder.encodeInto() 3x via simdutf. New Node.js APIs include node:child_process, process stdio streams, Error.captureStackTrace and fs streams, alongside automatic npm package installs on import when no node_modules exists. Other additions are a native Next.js-style FileSystemRouter, console as an AsyncIterable for reading stdin, threadsafe bun:ffi callbacks, new bun:test matchers with a faster toEqual(), and a long list of fetch, spawn and crash fixes.
- Deno 1.24 Release Notes
Deno mediumAdeptDeno 1.24 moves all TypeScript emitting to swc and caches type-check results, making `deno check` 20% faster cold and 70–90% faster on reruns for codebases like oak. FFI calls become roughly 200x faster (nop from ~437ns to ~2ns) via V8 fast API calls and JIT-generated trampolines, and FFI gains thread-safe JS callbacks through `Deno.UnsafeCallback`, with pointers now represented as bigint. The release also adds `unhandledrejection` and `beforeunload` events (enabling Node `process` polyfills) and import-map-aware `import.meta.resolve()`. Other changes include a reworked unstable subprocess API with ref/unref, a `--parallel` test flag with config-file include/exclude, and std additions: semver, typed flags parsing and dotenv variable expansion.
- Bun v1.3.9
Bun mediumAdept
Bun v1.3.9 adds `bun run --parallel` and `--sequential` for running package.json scripts with prefixed output across workspaces, along with Node-compatible HTTP/2 connection upgrades via `net.Server`, `Symbol.dispose` support for test mocks, `NO_PROXY` handling for explicit proxies, `--cpu-prof-interval`, and ESM bytecode in `--compile`. A JavaScriptCore upgrade brings SIMD-accelerated RegExp prefix search on ARM64 and x86_64, JIT compilation of fixed-count parenthesized subpatterns (~3.9x faster), DFG/FTL intrinsics for `startsWith`, `Set/Map#size` (2.2-2.7x) and `trim`, and rope-returning `String#replace`. Fixes include SIGILL crashes on ARMv8.0 CPUs caused by mimalloc LSE atomics, a chunked-encoding request smuggling bug, and keep-alive hangs for proxy-style requests.
- Bun v1.3.10
Bun mediumAdept
Bun v1.3.10 replaces its npm-based REPL with a native Zig REPL that supports top-level await, imports, history and tab completion. It also adds full TC39 stage-3 standard decorators, self-contained HTML output via `--compile --target=browser`, native Windows ARM64, and a global `--retry` flag for `bun test`. Bundler changes include barrel-file import optimization (automatic for `sideEffects: false` packages) and leaner module wrappers that cut 11% of heap objects on a large React app. Runtime changes include mTLS keepalive pooling, a JavaScriptCore upgrade (168x faster deep rope slicing, a faster `endsWith`), and structuredClone fast paths up to 25x faster for dense primitive arrays.