@ryanlpeterman: Why Microsoft didn't have LLMs do their recent Typescript native rewrite in Go Anders Hejlsberg (Creator of Typescript)…
Summary
Anders Hejlsberg explains why Microsoft avoided using LLMs directly for rewriting TypeScript in Go, advocating instead for using AI to build deterministic translation tools.
View Cached Full Text
Cached at: 08/20/26, 11:01 PM
Why Microsoft didn’t have LLMs do their recent Typescript native rewrite in Go
Anders Hejlsberg (Creator of Typescript): “If we just let AI loose on, what is it, half a million lines of code that we have in the old compiler? Well, I don’t know that that would absolve us from then having go in and carefully examining every line that came out of it to make sure that there were no hallucinations.
Right. Unless you have 100% perfect test coverage, you probably still gotta go check all of that.
Now I think a better approach, quite honestly, would be enlist AI to write a program that helps you translate from TypeScript to go, because at that point you can park the stochastic ness in that program and then you can get deterministic behavior whenever you run the program, which means you get the same transformation every time you run it.
Right. That’s always the thing about AI that people forget it’s not deterministic. Right.
So you can’t really trust that it’s going to do the same thing twice.
For the full conversation, you can search Anders Hejlsberg’s name on my YouTube, Spotify or Apple Podcasts (link in bio)
Similar Articles
@ryanlpeterman: Anders Hejlsberg ( @ahejlsberg ) is the creator of TypeScript and C#, and I asked him about how the TypeScript compiler…
Anders Hejlsberg explains the decision to rewrite the TypeScript compiler in Go for 10x performance gains and discusses AI's impact on software engineering in a podcast episode.
@ryanlpeterman: How Typescript was originally created Anders Hejlsberg (Creator of TypeScript, C#): "The way TypeScript came about was …
Anders Hejlsberg explains the origins of TypeScript, describing how it evolved from C# due to requests for better JavaScript tooling from the Outlook.com team.
@ryanlpeterman: Will AI write +90% of all code this year? Anders Hejlsberg (Creator of Typescript, C#): "For certain classes of apps th…
Anders Hejlsberg, creator of TypeScript and C#, discusses whether AI will write over 90% of code this year, noting it can handle all code for certain app classes but not high-quality code like the TypeScript compiler, and expresses hope that AI doesn't fully replace human coding.
Why Is Every AI Agent Written in TypeScript?
The article explores why TypeScript has become the dominant language for building AI agents and agent frameworks, questioning why alternatives like Rust or C++ aren't more prevalent.
@ryanlpeterman: Will AI replace junior software engineers? Anders Hejlsberg (Creator of TypeScript, C#): "Well, if it does, then how do…
Anders Hejlsberg argues that AI is unlikely to replace junior software engineers entirely, as senior engineers remain essential, but the role is evolving towards supervising AI agents.