Genotype: language that compiles to idiomatic TS, Rust and Python
Get picks like this daily. Today's launch numbers, the top launches, AI and tech news, and a daily opportunity pick, straight to your inbox.
Want to reach these readers? Sponsor an issue.
Hey HN! I just shipped the first public version of a new programming language that I have worked on for the past two years.Its goal is to help synchronize types between TS, Rust, and Python (more to come). Two main use cases are the API client libraries and client-server interop, i.e., a TS web app talking to a Rust server.I focused on making it as flexible as possible but always produced idiomatic types that look and feel like they were carefully crafted by humans. It was a challenge, e.g., I had to test 7 Python versions for every language feature or had to implement Rust literals runtime.It's written in Rust, btw ;-)
HN · launched Sep 8, 2026 · 9 upvotes (top 46%) · 0 views
Niche: programming language compilers · 77 launches, 2 in the last 7 days ▼ -60% · Explore this niche →
Category and tags
- Horizontal
- Dev tools
- Developer
- Not AI
- Hobby / open-source project
Visit website ↗ Source listing ↗
More like this: all 77 launches in programming language compilers →
Could you build this?
No Building a full compiler and type system that parses a custom domain language and generates correct, idiomatic ASTs and code across TypeScript, Rust, and Python requires deep compiler engineering knowledge.
What it would actually take: The stack comprises a formal grammar parser (e.g., Tree-sitter, ANTLR, or a handwritten recursive descent parser), an intermediate representation (IR) representing structural and nominal types, and separate code generator backends for TS, Rust, and Python. The hard part is reconciling disparate type theory paradigms (e.g., Rust's ownership/traits, TypeScript's structural typing, and Python's duck typing/typing module) while generating clean, idiomatic code. Requires significant expertise in compiler design, AST transformations, and multi-language type semantics.
Discussion
1 comment analyzed.
Concerns raised: Unclear definition of 'idiomatic' term usage, Concern about marketing slop and buzzword proliferation
Competitors
Other products that read as similar to this one : 460 launches clear the similarity bar, closest 8 shown.
Attention rank: #227 of 461 (itself plus its competitors, highest first, normalized so YC and Product Hunt are compared fairly).
Launched 311 days after the earliest competitor.
- Fuse · hn · 2026-08-02 · 121 upvotes · similarity 0.54
- Hsrs · hn · 2026-05-19 · 53 upvotes · similarity 0.52
- rust-learning-lab · github · 2026-09-25 · 49 upvotes · similarity 0.52
- Topaz · hn · 2026-06-18 · 5 upvotes · similarity 0.51
- ts-polyglot · ph · 2026-10-27 · 5 upvotes · similarity 0.51
- Gene · hn · 2026-01-01 · 36 upvotes · similarity 0.51
- Typical is TypeScript with type-safety at runtime · hn · 2026-01-11 · 8 upvotes · similarity 0.51
- ts-rust · github · 2026-10-07 · 1036 upvotes · similarity 0.51
The niche, labels, vibe code rating and competitor comparison on this page are analysis by Nicheloom. If you use them, please credit nicheloom.com. How you may use our data.