Parcel 3: Design Trade-Offs of a Standalone Rust Binary
Parcel 3 rewrites its core as a standalone Rust binary for faster cold builds and lower memory, trading away the Node plugin ecosystem and scope hoisting—about 14x faster on a mid-sized app, not the headline 100x.
1. What "Up to 100x Faster" Actually Measures
The Parcel 3 alpha announcement was published on 2026-11-04. Its opening paragraph sets the scope clearly:
Today we're releasing the first alpha of Parcel 3, a ground up rewrite of Parcel in Rust. It is up to 100x faster than v2, and supports native plugins written in Rust, Go, Swift, or C, as well as a custom runtime for JavaScript and TypeScript plugins.
Further down, it sharpens the claim: "up to 100x faster builds using the same underlying compilers as v2, only changing the core." In other words, the team did not swap out the compilers that had already been rewritten in Rust in v2 (the SWC-based JavaScript compiler, Lightning CSS, and later the HTML and SVG transformers)—only the core changed.
The benchmark chart in the announcement measures cold development builds of React Spectrum, a large TypeScript monorepo, and reports the scale of three entry points: Storybook with ~100 entries, JS macros, and custom plugins ported to Rust for Parcel 3; a docs site with ~340 pages using React Server Components, MDX, Tailwind, and custom plugins; and a library build spanning ~160 packages and outputting more than 14,000 files. The bar values appear only inside the image, and this post does not eyeball milliseconds off a screenshot. All that can be cited directly is the text above and the phrase "up to 100x" itself—an upper bound, not a blanket guarantee for every project or build mode.
Both the announcement and the migration guide describe the same installation paths: for regular upgrades, point your dependency at parcel@next (resolving to 3.0.0-alpha.2 at the time of writing); to run side-by-side with Parcel 2, install @parcel/parcel3, invoke the parcel3 command, and pass a separate --dist-dir.
2. Parcel 2: Node Core, Rust Compilers
The announcement is quite specific about v2's bottlenecks. Parcel 2 had already moved its JavaScript compiler (SWC-based), Lightning CSS, and HTML / SVG transformers and optimizers into Rust, yet the core remained in JavaScript:
This limited our maximum possible performance due to lack of shared memory between threads, high memory usage, garbage collection, and the cost of serializing values between workers and languages.
Those four factors—no shared memory across threads, high memory consumption, garbage collection, and serialization across workers and language boundaries—are the team's own explanation for rewriting the core, not post-hoc speculation on my part.
I picture it as a layered stack. At the top sits a Node process: the JavaScript core orchestrates the build, loads config, and drives the plugin pipeline. Parcel 2 broke almost every capability out into its own npm plugin package—great for modularity, though as the announcement notes, it came at the cost of "hundreds of dependencies that you needed to upgrade and maintain." Beneath that sits a worker process pool: transformations are dispatched to other processes that cannot share objects directly, so data has to be serialized across the boundary. At the very bottom sit the Rust-rewritten compilers, meaning the JavaScript core crosses a second language boundary whenever it calls into them. Listing "workers" and "languages" side by side under serialization cost refers directly to these two seams.
This also explains why v2 ended up "heavily invested in disk caching and incremental builds." When the underlying execution is slow, persisting transformation outputs to disk and reusing as much as possible pays off. But bookkeeping and invalidation tracking carry their own overhead and invite a steady stream of stale-cache bugs. Once the core itself becomes fast, that caching philosophy stops being a free accelerator and can turn into the next bottleneck.
3. Parcel 3: The Entire Pipeline as a Single Native Process
Parcel 3's answer appears in the very same section:
Parcel v3 is an entirely self-contained Rust binary, with no dependency on Node at all. Everything from the CLI and dev server, to the transformers, bundler, optimizers, and everything in between is now fully native.
On one side, a JavaScript core inside a Node process scheduling Rust compilers; on the other, a single native binary running the entire pipeline in one address space. The contrast looks like this:
Dropping the Node dependency has immediate architectural consequences: threads can share memory, there is no JavaScript core GC, and there is no repeated serialization just to hand work to workers or cross a language boundary. The announcement frames the payoff as being able to "efficiently take full advantage of modern multi-core hardware," while emphasizing that this comes from "only changing the core" without replacing the underlying compilers.
The pipeline itself is folded into the binary as well. According to the announcement, common web languages work out of the box (HTML, CSS, JavaScript, TypeScript, SVG, image conversion and optimization, RSS / Atom, web manifests, etc.), and: "Newly added is native support for Tailwind (without PostCSS), React Compiler, MDX, SVG → JSX, and glob imports." That is a capability list, not "enabled by default": per the React docs, React Compiler requires setting reactCompiler: true on @parcel/transformer-js in .parcelrc; Tailwind likewise requires explicitly adding @parcel/transformer-tailwind. MDX, on the other hand, works out of the box. The migration guide also notes that packagers and runtimes are no longer separate plugin types—"packaging is now handled by Parcel itself."
The caching strategy shifts accordingly. The announcement puts it this way:
Parcel 3 uses a significantly simpler architecture, optimizing for the fastest possible cold builds rather than paying for the overhead of caching. We still support incremental in-memory rebuilds, but don't need to write each transformation result to disk, or perfectly track all possible invalidations.
The migration guide turns this into concrete advice: "Parcel 3 is fast enough that it no longer writes a cache to disk. You can delete the .parcel-cache directory." The CLI also drops --no-cache and --cache-dir. Consequently, a second parcel3 build is not a "warm build"—it is simply another cold build. True incremental work happens in-memory during parcel3 serve.
The plugin model is split into two tiers. Because the binary has no dependency on Node, JavaScript / TypeScript plugins and macros execute inside an embedded QuickJS runtime that "intentionally lacks things like network access." When peak performance matters, the team recommends writing native plugins (in Rust, Go, Swift, or any language with a C ABI). That does not mean you can no longer write JS plugins—lightweight, infrequently invoked plugins can still be written in JS—only that the execution environment is not equivalent to Node. Configuration is consolidated into .parcelrc: the announcement notes this is not just easier to find, it also avoids repeatedly scanning the filesystem for files like .babelrc and .postcssrc during builds.
Code splitting and tree shaking change too. The announcement reports "64% fewer HTTP requests per page" and "10% less transferred bytes per page" compared with v2 on a 450-page site, driven by an improved bundle-merging cost model—this post does not reproduce that page-level HTTP request comparison and treats it strictly as the team's own figure. At the same time, JavaScript scope hoisting has been removed, on the grounds that it "reduces bug surface area while retaining most of the benefit of tree shaking, and enabling features like top-level await." The migration guide states it even more plainly: "Parcel 3 no longer concatenates modules into a single scope ('scope hoisting'). Tree shaking is still supported, and unused exports are removed from your production builds."
4. What Those Trade-Offs Cost
A standalone binary is not a free upgrade. I see three main areas where you pay for it.
First is the plugin ecosystem. Parcel 2's model—"one npm package per capability, require whatever you want inside Node"—does not map cleanly onto "single Rust process plus embedded JS runtime." The migration guide lists several plugins removed from the default config (Babel, PostCSS, Sass, Less, etc.) and drops auto-installation of dependencies; JS plugins also lose APIs like networking, timers, and child_process. Existing Parcel 2 plugins have to be updated for the new API, and complex or hot-path plugins are better written natively. The announcement itself also lists alpha gaps: compressor plugins, .d.ts generation, custom bundler plugins, a programmatic JavaScript API, and several known issues. If your project depends heavily on any of those, now is not the time to migrate.
Second is bundle output. Without scope hoisting, modules are no longer concatenated into a single scope; tree shaking remains, but "most of the benefit" does not mean identical bundle size. In addition, the production docs explain that Parcel 3 embeds a manifest in each HTML page or entry bundle, mapping stable bundle IDs to content-hashed filenames to avoid cascading cache invalidation: updating one async page won't force intermediate bundle filenames to cascade. That trades entry HTML size for cache hit rate rather than being an oversight in minification.
Third is maturity. The announcement states that "the Parcel 3 binary is less than 30 MB with zero npm dependencies," calling it 4x smaller than Parcel 2's "total install size (including dependencies) was ~120 MB." On Linux x64, the @parcel/parcel3-linux-x64/parcel ELF binary I extracted was roughly 36.2 MiB uncompressed, and about 14.5 MiB compressed with gzip -6. The uncompressed file is slightly above "less than 30 MB"—the announcement may be referring to the published package size or a different compression metric, though I did not unpack their npm tarball to verify. Being in alpha also means behavior is still subject to change.
5. How Those Trade-Offs Look on a Mid-Sized App
Numbers here exist only to ground the design choices above; they are not the centerpiece of this post. I compared parcel@2.16.4, @parcel/parcel3@3.0.0-alpha.2, and @rspack/core@2.3.1 on the same React 19 + TypeScript single-page app: 24 lazy-loaded routes and 390 source files in total. All three production builds had minification enabled, source maps disabled, and the same browserslist (> 0.5%, last 2 versions, not dead). Each metric is the median of 5 runs; for cold builds, the tool's cache directory was wiped before every run. React Compiler was left off, and neither Tailwind nor MDX was used, so all three tools compiled the exact same source.
| Cold Build | Peak RSS | JS gzip | Dev Startup | HMR (log) | |
|---|---|---|---|---|---|
| Parcel 2 | 1.595 s | 831 MiB | 137 KB | 1.218 s | 58 ms |
| Rspack 2.3 | 0.325 s | 175 MiB | 123 KB | 0.242 s | 17 ms |
| Parcel 3 | 0.112 s | 126 MiB | 185 KB | 0.102 s | 4.5 ms |
On cold builds, Parcel 3 beats Parcel 2 by 1.595 / 0.112 ≈ 14.2x—not 100x—and beats Rspack by roughly 2.9x. Peak memory drops from ~831 MiB to ~126 MiB, about a 6.6x reduction. Dev server startup and rebuild time after editing a leaf file already in the module graph move in the same direction.
As for why the speedup is nowhere near 100x, there are three verifiable reasons that require no guesswork.
- The announcement benchmarked a very different project. They tested cold development builds of React Spectrum: ~100 Storybook entries, a 340-page docs site using RSC / MDX / Tailwind, and 160 packages emitting over 14,000 files, along with "custom plugins ported to Rust." Here we have a single 390-module SPA in production mode, with no custom plugins, no MDX, no Tailwind, and no macros. That is more than an order of magnitude smaller; seeing a 100× ceiling on a much larger, plugin-heavy graph is not surprising.
- The comparison is "only changing the core, same underlying compilers." That applies here too: all three bundlers rely on the SWC family for JS transpilation and minification (Parcel 2 and 3 minify JS with SWC, and Rspack 2.3 also switched to the SWC Next parser). Once the core moves to Rust, the remaining time converges toward the floor of "read disk + run SWC + write disk." Parcel 2 already builds this app in 1.6 seconds; 100x faster would mean 16 milliseconds—barely enough to start a process and scan 390 files. At 112 ms, Parcel 3 is already bumping into fixed costs like these.
- "Up to" is a ceiling. The announcement never claimed a mid-sized SPA's production build would hit 100x. Framing 14.2x as "falling short of the promise" is inaccurate; framing it as "the speedup measured on this project in this mode" is accurate.
GNU time recorded cold-build CPU utilization well above 100% for all three tools (~299%–318% for Parcel 3, ~282%–334% for Parcel 2, ~183%–194% for Rspack). In other words, it is not that "only a Rust core can parallelize," and this app comes nowhere close to saturating 8 cores anyway. The 14x wall-clock gain comes more from doing less work per unit (no JS core, no cross-worker serialization, no disk-cache bookkeeping) than from an order-of-magnitude jump in parallelism. That aligns with the announcement's own bottleneck analysis, though I did not profile how many milliseconds went specifically to serialization, so I treat this as a qualitative explanation only.
The caching philosophy shows up clearly on a second build. Parcel 2's disk cache trims the production build from 1.595 s down to 0.568 s. Rspack does not write a persistent cache in production by default (the docs state memory caching is default in development and false in production); enabling cache: { type: "persistent" } brings the second build down to 0.137 s. Parcel 3's "warm" median is 0.124 s, actually slightly slower than its 0.112 s cold build—as documented, it never writes .parcel-cache, so both runs are full builds and the 0.01 s gap is just 5-run noise. If your production pipeline always runs on fresh CI runners, optimizing for cold builds and dropping disk caches matches the workload directly; if you run build repeatedly on a local machine, disk caches still help, though on this mid-sized app they still cannot beat a fresh Parcel 3 cold build.
Bundle size tells a different story. Parcel 3's raw JS output is ~29% larger than Parcel 2's (514,447 → 664,885 bytes), and ~36% larger after gzip (136,665 → 185,427 bytes). That tracks with the removal of scope hoisting, though I did not run a module-by-module diff to prove the entire delta comes from that single change, so I will leave it at that. Rspack still uses webpack-style module concatenation and splitChunks, producing the smallest gzipped JS of the three. Parcel 3's entry HTML grows from ~300 bytes to ~2.5 KB, containing a data-parcel-manifest JSON blob—consistent with the cascade-invalidation design in the production docs.
Wiring the exact same codebase into all three bundlers also exposed differences in defaults. Parcel 2 does not fully respect package exports by default and needs packageExports: true on @parcel/resolver-default to resolve react-router@7 (the migration guide notes that in Parcel 3, "Package exports are always enabled"); Rspack's CSS Modules emit named bindings by default and need namedExports: false to match Parcel's default object export; and rspack serve on a web-only compiler enables lazy compilation for dynamic imports by default unless lazyCompilation is explicitly set, meaning edits to files behind lazy routes won't trigger an immediate rebuild. None of these are right or wrong—just the configuration tax you pay for an apples-to-apples comparison.
The benchmark scripts, configs, and raw CSVs live in labs/parcel3-bench/. Numbers are 5-run medians of wall-clock time and GNU time peak RSS; I won't repeat the reproduction steps here.
6. When to Pick Parcel 3, Rspack, or Parcel 2
Here is how I view the three options.
If your project sticks mostly to the languages Parcel already supports natively, builds on clean CI runners, cares about cold startup and memory, and can live with alpha gaps as well as currently larger JS bundles, Parcel 3 is moving in the right direction. It removes the entire "core stuck in JavaScript" layer, and its caching philosophy fits CI workflows well—provided you do not rely on JS plugins that need full Node APIs, or urgently need compressors, .d.ts generation, or a programmatic API.
If you are already in the webpack ecosystem or care more about initial gzip transfer size, Rspack remains very competitive. On this app it produced the smallest gzipped JS, and with persistent caching enabled, repeated local builds nearly match a fresh Parcel 3 cold build. It takes a different path: the CLI stays in Node while the core lives in Rust, letting you keep webpack's mental model and plugin ecosystem.
If an existing project is tied to Parcel 2's plugins, disk cache, and scope hoisting, there is no need to jump onto an alpha chasing the "100x" headline. Parcel 2 builds this mid-sized app in ~1.6 seconds—slowness is relative—and in return you get a mature Node plugin ecosystem and smaller JS output. Waiting until Parcel 3 fills in the gaps listed in the announcement, and seeing whether its bundle-size trade-offs evolve, is the calmer call.
I am done chasing the 100× figure. That number came from cold dev builds at React Spectrum's scale; dropping down to a 390-module production build shrinks the multiplier as a matter of scaling, not because the implementation fell short. What actually matters is what this rewrite chose to keep and what it chose to give up: a native pipeline free of Node buys you cold-build speed and lower memory, paid for with the plugin ecosystem, scope hoisting, and the features still missing in alpha.
References
- Announcing Parcel 3 alpha (2026-11-04) — "up to 100x faster than v2", standalone Rust binary, four limitations of v2's JavaScript core, cold-build-first caching philosophy, scale of the three React Spectrum entry points, built-in Tailwind / React Compiler / MDX, "less than 30 MB" vs Parcel 2's ~120 MB install size, and installing
parcel@nextor@parcel/parcel3side by side. - Migration from Parcel 2 —
parcel3CLI and--dist-dir, no disk cache, packageexportsenabled by default, removal of scope hoisting, removal of--cache-dir, and packaging handled by the core. - Parcel 3 CLI —
parcel serve/parcel build,--no-source-maps,--dist-dir,--no-optimize. - Parcel 3 Production — minification enabled by default in production, bundle manifest in entry HTML to avoid cascading invalidation.
- Parcel 3 React and JavaScript: React Compiler —
reactCompilermust be enabled explicitly in.parcelrc; Tailwind requires adding@parcel/transformer-tailwind. - Parcel 3 MDX — MDX works out of the box.
- Announcing Rspack 2.3 (2026-10-29) — SWC Next, ~5% faster builds than 2.2 (up to 20% on some large projects), peak RSS dropping from 28.3 → 20.5 GiB on a real-world project, new cache off by default, and
splitChunks.dedupDepth: 1enabled by default in production. - Rspack Cache — memory cache by default in development,
falseby default in production, and persistent cache options. - Rspack React —
builtin:swc-loaderand enabling React Compiler viajsc.transform.reactCompiler(Rspack ≥ 2.1). - Measurement scripts and raw CSVs for this post:
labs/parcel3-bench/. These are the author's own measurements, not code from Parcel or Rspack.
Related Posts
Inside React 19.3's Runtime Primitives: ViewTransition-Suspense Coordination, FragmentInstance, and use(browser())
React 19.3 stabilizes <ViewTransition> and Fragment Refs, introduces use(browser()) for Suspense-native SSR opt-out, passes Trusted Types through without string coercion, allows Server Components to render Client <Context> directly, and decouples concurrent Transitions from entangling into a single render.
Repurposing GC Reachability to Catch Partial Deadlocks: Inside Go 1.27's goroutineleak Profiler
Go 1.27 ships the goroutineleak profiler in runtime/pprof and net/http/pprof. Rather than sampling stacks or guessing from goroutine counts, it adapts Go's tri-color mark-and-sweep GC to compute an inductive liveness fixpoint LIVE+(g)—pinpointing permanently blocked goroutines in production with near-zero false positives, while carrying sharp boundaries around memory overreach, O(n²) daisy-chains, and non-channel blocking.
How Good Is the Best Key in a Cluster? Apple Amortizes Vector Search with Support Functions
IVF routes queries using centroids, which really compares the average inner product inside each cluster. Apple's ICML 2026 paper frames 'how good is the best key in a cluster' as a support function—using SupportNet for routing and KeyNet for query rewriting to pay search cost up front in offline training.