Astro 7's Rust compiler promises 15–61% faster builds. One developer's got slower.
Astro 7 rewrote the .astro compiler in Rust (oxc plus Lightning CSS) and replaced its entire remark/rehype markdown stack with a homegrown Rust engine. Faster builds are the headline; the breaking changes are what the thread actually felt.
The rewrite runs deep. The rendering engine is about 2.4x faster, and Astro moves to Vite 8 with the new Rolldown bundler, which the team clocks at 10-30x faster than Rollup. Several sites now build more than twice as fast as on v6.
But the thread caught the asterisks. Strict HTML compilation now errors on unclosed tags, which blocks upgrading any site that pulls in messy remote content. One developer reported builds that got slightly slower, not faster. And the engineer who wrote the new Rust compiler is in the thread, taking questions.
Inside the rewrite: a new compiler and a homemade markdown engine

Astro 7.0 is a plumbing release, and the plumbing is now mostly Rust. The headline payoff is build time. On an M4 Pro, the team's own benchmark suite:
| Site | Astro 6 | Astro 7 |
|---|---|---|
| astro.build | 62.70s | 24.24s |
| docs.astro.build | 114.54s | 73.53s |
| tauri.app | 86.12s | 55.33s |
| biomejs.dev | 176.39s | 149.90s |
| developers.cloudflare.com | 386.89s | 261.94s |
| aspire.dev | 385.84s | 326.11s |
The second big change is invisible until it breaks something. Astro dropped the unified/remark/rehype markdown stack for a homegrown Rust processor called Sätteri (pulldown-cmark for CommonMark, Oxc for MDX), pulling GFM, math, heading IDs, smart punctuation and wikilinks into the core. The rewritten compiler also stops silently repairing your HTML: unclosed tags and unterminated attributes now throw errors, and whitespace between inline elements collapses JSX-style. Rounding out the release: a Hono-compatible request pipeline via a new src/fetch.ts, stable route caching, and an AI mode where astro dev runs in the background and emits structured JSON logs, which the team calls the most-upvoted request on its roadmap.
The upgrade tax nobody advertised
The Rust rewrite came with a stricter compiler, and that is where the first complaints landed. Astro no longer auto-corrects your markup, which is a problem when the markup isn't yours to fix.
"The switch to strict HTML compilation is just not cool, and actively prevents upgrading sites which need to deal with remote content that is not written in strict HTML." — a developer with remote content to render
The markdown swap drew the same worry from the other direction: leaving the rehype ecosystem behind for speed.
"Switch from widely supported unified/rehype to own rehype-incompatible markdown tooling just for build time speed improvement is quite upsetting. Good that they added a tool to keep using rehype, but I'm unsure that it will last." — a developer relying on rehype plugins
The engineer who wrote it is answering questions
The author of the new pipeline showed up to take the hits directly:
"I made the Rust compiler and the Rust Markdown pipeline in this, let me know if you have any questions, glad to answer anything!" — the engineer who built Astro 7's Rust compiler and Sätteri
Not every number moved the promised way. One developer's upgrade cut against the headline:
"I upgraded my website recently and it's exciting! That being said… my builds didn't get faster (they actually on average slowed down a bit)." — a developer whose own upgrade slowed builds
A quieter win landed better: the dependency count fell from 247 in v6 to 190 in v7, which a developer who tracked the counts welcomed as the JS ecosystem finally shedding weight.
"Does v7 mean seven breaking changes?"
Under the features sat a recurring unease about Astro's pace. Each major is faster to build and arrives with a migration.
"Does v7 mean that there have been 7 breaking changes thus far? So if I started my project on v1, I had to revise it 6 times to date? If yes, then this instability is a serious concern to me." — a developer weighing whether to adopt it
Another had just finished moving to Astro 6 when 7 landed. If you maintain an Astro site, that is the real line item this release adds: the build is quicker, and you will pay for it again at the next major.
Get breakdowns like this every day
The top Hacker News stories, unpacked — by email, Telegram, or RSS.
A first-year turned 'Ilya's 30 ML papers' into a site nobody can source
notmcrowley, a first-year CS student at Trinity College Dublin, built 30papers.com because he was burning his Claude quota re-asking basic questions about famous ML papers. Then readers asked the obvious thing: what's the evidence this list ever came from Ilya Sutskever at all?