Everything That Can Be Written in JavaScript, Will Not Be Written in JavaScript<br>https://krimlabs.com has been migrated to https://shivekkhurana.com
--> Everything That Can Be Written in JavaScript, Will Not Be Written in JavaScript
Shivek Khurana<br>Jun 16, 2026
Markdown for AI Agents
Atwood's law has momentum, but token predicting parrots are on the verge of breaking it.
Joyent's release of NodeJS was a big milestone for JavaScript
The imperfect scripting language designed to add and remove classes from HTML suddenly found a strong foundation. Now you could write the backend in JS. I was not old enough to have opinions, and I just observed the community polarise.
Then React came around and was genuinely a breath of fresh air. Everyone started writing React and learnt the tooling around it. We knew a little JavaScript. It made sense to write Node too. Using the same language reduced the cognitive load of context switching.
I felt the context-switching problem so deeply that I wrote Loose, a system to access Python object properties like JavaScript objects because I caught myself writing JS code in Python.
At some point, we all agreed to learn JS and write everything in JS. There were trade-offs, but it saved time. Performance was janky, but management was happy because they could hire for one skill-set and move people around easily. Being able to easily replace developers is every manager's *** dream.
We stopped caring about performance
Kids who grew up playing RollerCoaster Tycoon started getting fat pay cheques. The catch was to move fast and not obsess over details. You can only write React and make B2B apps with seat-based pricing. That's where the money is. Performance is secondary, animations are bloated and hard to maintain. All apps should look like Apple designers made it.
But we forgot that design is not what it looks like, but what it feels.
The correct tools existed, but were hard to master
Go is an absolute beast for backend APIs, SwiftUI apps load fast and feel smooth, and React is unbeatable in the web browser.
But each tool has its quirks and edge cases. Knowing all of them is extremely hard. If you know one really well, you are also moderately good at every other language (except Clojure and Haskell, maybe).
LLMs flip the script
Since Codex lets you build applications without writing code, we are at a unique crossroads where the cost of context switching is gone, but the cost of low performance remains.
Because there is no cost of context switching, there is nothing stopping us from writing everything in the most suitable language.
Shivek Khurana<br>I make things. Mostly software, but sometimes clothes, courses, videos, or essays.<br>Follow me on GitHubAbout
Recent Posts<br>Jun 3
Five Levels of Adding AI to Your SaaS App<br>May 27
AI coding agents ship at the cost of intuition and taste<br>Feb 21
Why Are We Still Writing CRUD UI With Hands?<br>Feb 19
3nm Chips Don't Have 3nm Features<br>Feb 19
Could Sarvam Be India's Answer to DeepSeek and Mistral?<br>Feb 18
Zero Agent Gate<br>Feb 15
Rate Limiting AI APIs Across Cloudflare Workers<br>Dec 30
SQLite in Production - A Real-World Benchmark
Hire Shivek<br>Build AI systems. Ship MVPs.<br>Go from 0 to 1. Fast.