@ryanlpeterman: Why Microsoft didn't have LLMs do their recent Typescript native rewrite in Go Anders Hejlsberg (Creator of Typescript)…

X AI KOLs Timeline News

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.

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)
Original Article
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

Why Is Every AI Agent Written in TypeScript?

Reddit r/AI_Agents

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.