ComingUp ComingUp
Genotype Homepage

Genotype Homepage

Posted on behalf of the maker

Is this your project? Ask us to take it down

Gallery

Genotype Homepage

About

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

Comments (2)

Merlin Mosciski Merlin Mosciski 2 months ago

wait so does this auto sync types across all three or just generate boilerplate

Jaime Schoen Jaime Schoen 2 months ago

type IR compiling to three langs is a neat approach