Titan
JavaScript-first framework that compiles into a Rust server
Details
- External ID
- 46229761
- Source
- HN
- Company
- —
- Product
- Titan
- Website domain
- npmjs.com
- Launched
- Dec. 11, 2025
- Cohort
- —
- Upvotes
- 49
- Upvotes percentile
- 0.8187022900763359
- Tags
- —
- Fetched at
- Sept. 7, 2026, 9:25 p.m.
- Updated at
- Sept. 7, 2026, 9:25 p.m.
Description
Hi HN,I built Titan, a backend framework where you write routes and logic in JavaScript, and the CLI compiles everything into a single Rust + Axum binary using the Boa JS engine. No Node.js is required in production.The idea is to keep JS developer experience while getting Rust performance and a self-contained deployable server.Current features:JS route DSLAction system mapped to Rustesbuild bundlingGenerated Rust server with AxumHot-reload dev serverSingle-binary outputRepo: https://github.com/ezet-galaxy/-ezetgalaxy-titanWould love feedback on the architecture, DX, and whether this hybrid JS→Rust approach is useful.Thanks for reading!
Enrichment
- Theme
- Vertical
- Horizontal
- Function
- Dev tools
- Audience
- Developer
- AI stance
- Not AI
- Project type
- Commercial product
- Normalized one-liner
- javascript framework that compiles to rust server
- Manually corrected
- False
Could you build this?
No Embedding a JavaScript engine (V8/Boa) inside Rust to compile JS routes directly into native Axum binaries requires deep systems programming, language runtime design, and compiler/bundler expertise.
What it would actually take: This requires building a custom bundler and embedding a JavaScript runtime (like rusty_v8 or Boa) into a Rust binary. You must implement custom Rust-to-JS FFI bindings that map Axum HTTP requests/responses into JS execution contexts, handle asynchronous I/O between the Tokio event loop and the JS runtime, and design an ahead-of-time (AOT) packaging system that bundles user code and runtime assets into a standalone binary.
Discussion
20 comments analyzed.
Competitors mentioned: Node.js with nginx load balancing, Bun (single-file executables, hot reload), V8 (JavaScript engine), C# .NET
Concerns raised: Boa JS engine is slower than V8 and Node.js, undermining 'Rust-level performance' claim, Comparison table claims are misleading/debatable (e.g., Rust-level performance, pure JS experience), Documentation is confusing, overstates capabilities, suggests AI-generated content, No clear benefit over Node.js with nginx for deployment simplicity, JS doesn't have Rust's compiler guarantees, so 'Rust performance' pitch is fundamentally flawed
Feature requests: Easy way to write hot-path code in Rust for optimization, Performance benchmarks against Node.js and other runtimes, Clearer, non-abstract documentation with concrete examples, Lightweight community feedback section in docs (no account friction)
Competitors
Other products that read as similar to this one — 384 launches clear the similarity bar, closest 8 shown.
Attention rank: #87 of 385 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).
Launched 42 days after the earliest competitor.
- Nectar, a Rust-like React that compiles to WebAssembly · hn · 2026-07-06 · 29 upvotes · similarity 0.58
- Afterburner · hn · 2026-06-14 · 6 upvotes · similarity 0.52
- Rapid-rs · hn · 2025-11-20 · 9 upvotes · similarity 0.51
- Nub · hn · 2026-06-24 · 277 upvotes · similarity 0.50
- GrainJS · hn · 2025-12-26 · 5 upvotes · similarity 0.49
- Ducklang: Achieving 100x more requests per second than NextJS · hn · 2026-01-01 · 9 upvotes · similarity 0.49
- Crust · hn · 2026-03-17 · 95 upvotes · similarity 0.49
- Aurora-OS.js · hn · 2026-01-02 · 8 upvotes · similarity 0.48
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.