Rust Port of TypeScript (Tsc)

jcbhmr 45 points 68 comments October 08, 2026
github.com · View on Hacker News

Discussion Highlights (16 comments)

ingen0s

Wait - you spent north of $400,000?

fwlr

# “The Slop Line" Everything below this was written by my LLMs, not me. I really appreciate this convention, thank you.

DanRosenwasser

TypeScript team member here - this is impressive work, and it's honestly crazy that 3 of these ports have popped up in the last week! I'm currently AFK but we're hoping to learn more and we'll have more to say on this soon.

elcritch

I'm curious how much unsafe this uses? Are these ports making idiomatic code or just using unsafe all over. There doesn't seem to be anything in the readme.

bitpush

Is this going to be a serious project? No. Is this going to be maintained? Nope Nevertheless this and many others are showing what is possible. Much akin to how someone ports doom onto a microwave. We'll look back at this time with great fondness when we collectively discovered a whole new gear.

pvillano

I have to wonder if LLM reimplementations verified against years of human tests will have holes where original authors thought that tests are not necessary and common sense is enough. I have to wonder this to preserve my ego as a human. I wonder have to this because I sure as hell am never going to go through all that code to check.

catlifeonmars

This post should be titled “Rust port of Go rewrite of Typescript compiler”

fiatpandas

Are there any specific harnesses or techniques to aid in porting stuff to Rust? Specialized in terms of token efficiency

Gigachad

I honestly have no idea what the future of tech will look like at this point. Too much has changed.

yoyohello13

Maybe there are just so many of these but at this point for vibe coded stuff like this I’m just like “who cares.” LLMs can make stuff like this now. Unless this reaches some critical mass of usage among developers why would I use it? It’s just a less maintained, less tested implementation. The more important question is “what does this teach us?” And idk the answer to that one.

hannibalhorn

In the real world project section, compile times vs tsc7 were 1-3s less. Sometimes the percentages are far more impressive than absolutes.

shepherdjerred

I wish Anthropic/OpenAI would give me free tokens so I could make random things like this I already pay for subs on both but the tokens are already spoken for with other projects

anonymous908213

LLMs have been trained to fix compile errors in a loop. Give them years of human labor worth of tests and they will fix compile errors until it works (as well as the tests can ensure). Now you have a codebase no one has read. Good luck adding new code to it. Let's also not forget that Bun was claiming a rewrite in 11 days or whatever it was, but actually spent three months of human labor fixing hundreds of issues their rewrite introduced before shipping it as a release.

Capricorn2481

Why does it seem like this is falling off the front page really fast? There's older posts with less points that are way higher.

spankalee

This was a lot of tokens to spend on a port. I wonder if all of the porting activity out there would be better supported by investing in really good deterministic automatic translators that do 90% of the job cheaply and delegate any decisions that have to be made back out to the AI agent?

Thaxll

"In total I did over $400,000 in API priced tokens with GPT-5.6 Sol and GPT 6 Astra." wut?

Semantic search powered by Rivestack pgvector
8,795 stories · 82,549 chunks indexed