The alpha, twice a week
That was 5 min.
Get the best new moments in your inbox every Wednesday and Saturday. It's free.
Check your inbox
We sent a link to your address. Click it to finish signing up. Not there in a minute? Look in spam.
or
Lenny's Podcast · 5 min · Mar 13, 2025
Running code in the browser avoids cloud-VM bottlenecks
WebContainer runs development environments on users’ devices instead of provisioning cloud VMs.
The episode’s best minutes
Full analysis- 29:28Bolt changed its pricing when users exhausted the flat planPro pick 5 min
- 19:55Running code in the browser avoids cloud-VM bottlenecks5 min
- 53:09PMs can move from specifying software to building itPro pick 7 min
- 5 more moments in the full episode
“Figma, when you open a Figma document, there's not like some cloud VM that gets spun up for you to render the documents you're dragging things around.”
Eric Simonsat 22:43 · Lenny's PodcastTakeaways
- WebContainer was StackBlitz’s core technology bet.
- Cloud VMs can be slow to start and hard to scale.
- Using the browser’s compute helps make free access viable.
About this segment
WebContainer runs development environments on users’ devices instead of provisioning cloud VMs. That makes Bolt faster and cheaper to scale, while supporting a permissive free tier.
Eric Simons is cofounder and CEO of StackBlitz.
Co-founded StackBlitz and built Bolt.new, which reached $20 million ARR within two months of launch.

Lenny Rachitsky, Host · Host, Lenny's Podcast
Spent seven years at Airbnb; his product newsletter has over 1M subscribers.
From “Inside Bolt: From near-death to one of the fastest-growing products in history | Eric Simons”, Mar 13, 2025. Watch the full episode
Thanks. We'll look at and fix what's off.
Transcript
Transcribed by machine (Whisper) from the episode’s audio, so a word may be off here and there.
- 20:01
The web container was the bet that we made the company on, just to be clear. StackBlitz was a browser-based, deep technology play on, can we make a web assembly-based operating system that can boot in a browser in 100 milliseconds and run full-on development tool chains? That was really it. and like the we gotten the idea for this and kind of the insight that this might be possible because back when my co-founder and i i came out to the valley he and i like grew up down the street from each other in chicago put our code together at 13 and build stuff ever since and we came out to the valley in 2012 and we just had the good fortune of bumping into dylan field and evan wallace when they were building figma in the early days and that was um i don't think a lot lot of people know that Figma was also a browser-based deep technology play. When their
- 20:50
first pitch for Figma, they didn't have a design tool. Their first pitch was this 3D ball dropping into water inside of a browser tab. And the pitch basically was browsers have this new capability called WebGL and the predecessor to WebAssembly. And with these things, for the first time, that you could actually, you know, create a graphics rendering engine that you could then build a design tool on top of, but you're, but you're going to have to write that, that rendering engine from scratch because, you know, nothing exists that can just compile into WebGL or whatever.
- 21:28
If you want the performance you need, et cetera, it's going to take us years to do, but we do it, you know, we think this will change everything for design. And obviously we know how that story, you know, has panned out now. And back in 2017, 2016, 2017, Albert, my co-founder and I saw the same sort of story begin to play out, but for web development and like development environments. and specifically there was some stuff that landed in browsers like web assembly shared memory service workers like these different apis and we were like oh wow like it should be possible theoretically like to write an operating system that uh in web assembly that could you know run node.js and mpm and all the tool chains on top of it that you need to do to do web development and that would be huge because setting up developer environments is it's a it's a pain
- 22:17
for beginners um like a lot of people churn out they see like the first thing you do when you learn how to code is not even learning how to code it's how to set up your computer to even start writing the code right if you go join netflix or any of these other fan companies the first month or two is is you being onboarding to run that stuff on your computer and set up your environment right and we're like if we could just have that be something you click a link and it just boots in your browser that'd be huge it's also if you look at the other productivity apps that have really worked on the web, they've all had this compute model, right? Figma, when you open a Figma document, there's not like some cloud VM that gets spun up for you to render the documents you're dragging things around. It's using your CPU and your memory to do the work. Same thing
- 22:58
with Google Docs, right? That's the only model that's ever scaled to a billion users. And so when you look at cloud IDEs, like cloud nine was the first one back in 2009 or so, the way these have always worked is that your browser is basically doing nothing when you go to them. It's every user that gets connected, there has to be a cloud VM that gets spun up for them. And then your browser is just kind of like taking your keystroke, sending it to the server, and then sending back the results of it. And that's how all these other AI code text to app sort of tools work. They're all using cloud VMs. And the problem is on a small scale, it can work.
- 23:37
but as you scale it up there i mean there's not even 100 million vms to rent on the planet but there are like a billion devices that you can run this stuff on is that's kind of what we've seen with bulb where you know uh it's if you want to have build a product that's that's going to be able to scale to that so you have to kind of look at all factors and go we have to build make sure the technology provides the best experience, you know, zero latency, transient costs to, there's a permissive free tier, right? Because the other problem with the server is like you end up, if you have a free tier, people are mining Bitcoin on it. They're DDoSing people using your servers, right? So inevitably you have to nerf these things and roll them back. But if it's all done on the end device, it doesn't matter, right? So that's, web container was the key piece and what we struggled with. It
- 24:22
took us like four or five years, something to build web container. What we struggled with for the the years after that was just how to build a product around it that like that um because developers loved it but they they weren't using it in ways that they would pay money for you know and um and as much as i i did the nerd side of me wished that that would be enough there's like building cool technology was not it's like it's not like this we're here to build a venture