zlacker

[return to "Anthropic acquires Bun"]
1. notnul+cr1[view] [source] 2025-12-03 02:58:24
>>ryanvo+(OP)
I am more shocked about the origin story compared to the acquisition.

> Almost five years ago, I was building a Minecraft-y voxel game in the browser. The codebase got kind of large, and the iteration cycle time took 45 seconds to test if changes worked. Most of that time was spent waiting for the Next.js dev server to hot reload.

Why in the hell would anyone be using Next.js to make a 3D game... Jarred has always seemed pretty smart, but this makes no sense. He could've saved so much time and avoided building a whole new runtime by simply not using the completely wrong tool for the job.

◧◩
2. johnco+Qt1[view] [source] 2025-12-03 03:26:59
>>notnul+cr1
He may have been serving a game in a canvas hosted in a Next.js app, but have done all the actual game (rendering, simulation, etc.) in something else. That’s a decent approach - Next can handle the header of the webpage and the marketing blog or whatever just fine.
◧◩◪
3. komali+9v1[view] [source] 2025-12-03 03:39:32
>>johnco+Qt1
But like... so can an index.html with a script tag? Am I missing something, where did you read that there was a lot of work involving the header or an attached marketing blog?
◧◩◪◨
4. shortr+vv1[view] [source] 2025-12-03 03:43:06
>>komali+9v1
index.html with script files would still benefit from a bundler. You can have a very minimal react footprint and still want to use react build tools just for bundling.
◧◩◪◨⬒
5. komali+xw1[view] [source] 2025-12-03 03:53:23
>>shortr+vv1
Sure, but I'm more confused about the next.js usage than I am about the bundler. The bundler makes sense.
◧◩◪◨⬒⬓
6. johnco+wy1[view] [source] 2025-12-03 04:18:36
>>komali+xw1
What effect do you imagine Next.js has on a bunch of code manipulating an HTML canvas? For vanilla code directly using browser APIs it’s basically just a bundler configuration, and while it’s not optimally configured for that use case (and annoying for other reasons) it’s probably better than what someone who has never configured webpack before would get doing it themselves.
[go to top]