Erik Onarheim

Things Erik Says on Podcasts

Software developer in Minneapolis who created Excalibur, an open source game engine for the web. Works in Neovim and follows TypeScript language changes, npm supply chain security and the broader JavaScript tooling world closely. Co-hosts TypeScript.fm, a weekly show on TypeScript and the wider web development ecosystem, alongside Kamran Ayub.

Where to Find Them

Erik Onarheim hosts and writes TypeScript.fm - The Friendly Show for TypeScript Developers .

Recently: “Nuxt DevTools V4, It's JS Engine Season, and TypeScript Still #1 on GitHub | News | Ep 88” on TypeScript.fm - The Friendly Show for TypeScript Developers (November 2026); “Prettier in Bun, Deno's Spiritual Successor, and Extraction Models Are A Thing | News | Ep 87” on TypeScript.fm - The Friendly Show for TypeScript Developers (October 2026); “TypeScript 7.1 Beta, eMudhra CA Compromise & PHP2Shell, and Cloudflare's tsrs Rust Port | News | Ep 86” on TypeScript.fm - The Friendly Show for TypeScript Developers (October 2026); “Theo's $420K TS-Rust Port, bun check, and Deno Joins Cloudflare | News | Ep 85” on TypeScript.fm - The Friendly Show for TypeScript Developers (October 2026); “Vite+ 1.0, SvelteKit 3, and TanStack Charts 1.0 | News | Ep 84” on TypeScript.fm - The Friendly Show for TypeScript Developers (October 2026); “Type-aware Linting, Vite+, and the Future of Dev Tooling | VoidZero | Ep 83B” on TypeScript.fm - The Friendly Show for TypeScript Developers (October 2026).

What They Said

“Using an agent basically freezes your ability as an engineer at that point, because you can only direct it at your current ability, and then potentially you atrophy from there. So it's important, I think, to keep sharp.” — Erik Onarheim, TypeScript.fm - The Friendly Show for TypeScript Developers

The hosts had just praised a young developer who spent 950 days building a JavaScript engine by hand. Onarheim takes a quick tangent to warn that leaning on agents caps an engineer's growth.

TypeScript.fm - The Friendly Show for TypeScript Developers · 2026-11-05 Permalink → Listen →
TypeScript.fm - The Friendly Show for TypeScript Developers Around 09:41 into the episode
Erik Onarheim

Yeah. Learning does require mental friction. If it's easy, you're not learning.

Kamran Ayub

Exactly. That's just

Erik Onarheim

not, that's just not how human brains work. And I've talked about this. Okay, if you'll indulge the tangent here real quick, I've talked about with you at this offline is using an agent basically freezes your ability as an engineer at that point because you can only direct it at your current ability and then potentially you atrophy from there. Yes. So like it's important, I think, to keep sharp.

Kamran Ayub

Yeah, keep like keep a mix, you know? And like, and I think, well, let's save it for the Minnesota long goodbye. We could talk a little bit more about that because I do have something related to talk about at the end. But we're not, we're not done with JS Engine. There's more. We're not.

Erik Onarheim

There's more. You're of the JS Engine, JavaScript runtime. Another one, Boomcat, is a tiny JS Engine with ES2026 and native TypeScript and JSX support. This is built in C3, which is a language I'm not really familiar with, but it's what it's called on the tagline. It says small enough to hide, fast…

Kamran Ayub

With a sweet, sweet logo.

Speaker names come from our own diarization. The position is estimated from where the line sits in the episode.
“A lot of security vulnerabilities in application code have similar shapes, and they're very hyper local usually. The ones that are tough to catch are state across time or state across threads. Those are really hard for humans because we just don't think that way. And the agents are really good at being like, oh, this is a thing that could happen.” — Erik Onarheim, TypeScript.fm - The Friendly Show for TypeScript Developers

Kamran had said he now uses AI agents to security-review his own app. Erik explains why agents suit this: the bugs humans miss most are about timing and concurrency, which pattern-matching agents are good at spotting.

TypeScript.fm - The Friendly Show for TypeScript Developers · 2026-10-29 Permalink → Listen →
TypeScript.fm - The Friendly Show for TypeScript Developers Around 59:17 into the episode
Erik Onarheim

…the PHP right now. So like I don't envy them. So all of the eyes are drawn there because everyone's looking now, looking for similar things. So if you had like one type of problem somewhere, odds are there's more. So that's what security researchers like to do. Yeah. Just like they start looking.

Kamran Ayub

…a really obvious kind of issue. But the thing is, is that it's not just your code. It's all your dependencies too. Right. So like .NET, when the .NET security update came out this week, I immediately rebuilt all my images to get the latest runtime because the runtime patches the Brotley problem.

Erik Onarheim

Yep. And this is another area where I think agents are going to be super useful. And that's this code review static analysis space where because it's pattern matching activity and a lot of security vulnerabilities in at least an application code have similar shapes. So it's really easy and they're very hyper local usually. I think the things that are tough to catch vulnerabilities that are state across time or state across threads. Those are still very hard. And agents do a great job about finding those. Those are really hard for humans because we just don't think that way. And the agents are really good at being like, oh, this is a thing that could happen. Right. You know, and it's weird pattern match. So like as far as like static analysis tooling for like security problems, I think it's extremely useful for finding stuff.

Kamran Ayub

The thing that resonates with me in his post, well, first of all, he says like, it's sad, right? It's like, he's saying, when I was a kid, we called up BBSs, those bulletin board systems that were hosted in people's homes. When I was in high school, we downloaded music from public FTP addresses.…

Erik Onarheim

And it's totally deterministic. And deterministic,

Kamran Ayub

yes. I mean, I used Claude to Vibe code and build it, but once it's out there, I don't have to change it. Don't have to maintain it.

Speaker names come from our own diarization. The position is estimated from where the line sits in the episode.

Collections They Appear In