Preview of GenotypeOpen genotype-lang.org

genotype-lang.org

Genotype

Genotype is a programming language that transpiles to idiomatic TypeScript, Rust, and Python types for type-safe interop between languages.

Visit project

Show me a random project

First shared
Sep 8, 2026
HN activity
91

Show HN@kossnocorpSep 8, 2026

Show HN: Genotype: language that compiles to idiomatic TS, Rust and Python

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 ;-)

Community

Hacker News discussion

Loading the thread…