I built a 30x faster svelte-check in 2 days with AI
Details
- External ID
- 46478789
- Source
- HN
- Company
- —
- Product
- I built a 30x faster svelte-check in 2 days with AI
- Website domain
- vercel.app
- Launched
- Jan. 3, 2026
- Cohort
- —
- Upvotes
- 6
- Upvotes percentile
- 0.2549407114624506
- Tags
- —
- Fetched at
- Sept. 7, 2026, 9:25 p.m.
- Updated at
- Sept. 7, 2026, 9:25 p.m.
Description
I built a Rust drop-in replacement for svelte-check that's 10-30x faster for Svelte 5 projects.What it does:- Parses Svelte files with a custom Rust parser - Transforms them to TSX in parallel using Rayon - Runs type-checking via Microsoft's tsgo (the native Go port of TypeScript) - Maps errors back to original .svelte locations via source mapsWhy it's fast:The official svelte-check uses TypeScript's Language Service API optimized for IDEs with persistent connections. Great for autocomplete but slow for batch CLI checks.svelte-check-rs writes real TSX files to disk and runs tsgo as a standalone compiler. This enables incremental builds with persistent .tsbuildinfo, so subsequent runs only re-check changed files.Benchmarks on a 650-file SvelteKit monorepo (M4 Max): Cold: 17.5s vs 39.6s (2.3x faster) Warm: 1.3s vs 39.4s (30x faster) Iterative: 2.5s vs 39.8s (16x faster) The AI part:I built this in ~2 days using Claude Code (Opus 4.5) and Codex CLI (GPT-5.2 xhigh). The entire Svelte parser, TSX transformer, diagnostics engine, and CLI were written entirely by AI. I focused on architecture decisions and testing against real codebases while the models handled the implementation.My motivation was actually to make AI coding agents more effective. When agents write code, they need to verify it works, and waiting 40 seconds for type-checking kills the feedback loop. With 1-2 second checks, agents can iterate much faster and catch their own mistakes immediately on our large and growing production SvelteKit codebase.Website: https://svelte-check-rs.vercel.app/
Enrichment
- Theme
- browser automation and scraping for AI
- Vertical
- Horizontal
- Function
- Dev tools
- Audience
- Developer
- AI stance
- AI feature
- Project type
- Hobby / open-source project
- Normalized one-liner
- faster svelte type checker built with ai
- Manually corrected
- False
Could you build this?
No Developing a custom compiler frontend in Rust that accurately parses Svelte 5 ASTs, maps TypeScript transformations in parallel, and coordinates with TypeScript compiler internals demands elite compiler engineering skills.
What it would actually take: The architecture consists of a custom Rust lexer and parser for Svelte syntax, an AST transformer converting templates into valid TSX, Rayon-based parallel processing, and an FFI/IPC bridge to TypeScript/tsgo. The core difficulty lies in generating precise bidirectional source maps to translate type errors back to original template coordinates while maintaining parity with the official TypeScript compiler specification.
Discussion
No comments on this launch.
Competitors
Other products that read as similar to this one — 103 launches clear the similarity bar, closest 8 shown.
Attention rank: #75 of 104 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).
Launched 56 days after the earliest competitor.
- LiteParse v2, now in Rust 100x faster · hn · 2026-05-28 · 15 upvotes · similarity 0.47
- CodeDiff · hn · 2026-09-29 · 6 upvotes · similarity 0.45
- Dhi · hn · 2026-01-26 · 5 upvotes · similarity 0.45
- Claude Code plugin that gives .svelte files full LSP intelligence · hn · 2026-03-16 · 9 upvotes · similarity 0.45
- Hurry · hn · 2025-12-22 · 11 upvotes · similarity 0.44
- Rust HTTP library modeled after Go but 2-3x faster · hn · 2026-04-04 · 5 upvotes · similarity 0.44
- A fast hex dumper, written in Rust · hn · 2026-06-29 · 6 upvotes · similarity 0.41
- Shuck · hn · 2026-04-30 · 8 upvotes · similarity 0.41
Other launches for this product
- No other launches for this product.
Same idea, different domain
Nobody's really built a dev tools tool for Sales yet.