this post was submitted on 02 Dec 2025
264 points (98.5% liked)

Programming

23690 readers
238 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS
 

Biggest WTF news I've read today. I'm not a web dev so this doesn't affect me, but this is bizarre.

We get a closer first look at what's around the corner for AI coding tools, and make Bun better for it

This incredibly popular tool is now going to merge with an AI company and shift gears to be turned into some forced AI hype machine. Yipee! Exactly what all the devs were hoping for! /s

you are viewing a single comment's thread
view the rest of the comments
[–] cornshark@lemmy.world 12 points 1 day ago (3 children)

What's bun? Some other comments mention a js runtime so is it like a V8 competitor?

[–] chicken@lemmy.dbzer0.com 17 points 1 day ago

A bundler, a transpiler, a runtime (designed to be a drop-in replacement for Node.js), test runner, and a package manager - all in one.

Bun's single-file executables turned out to be perfect for distributing CLI tools. You can compile any JavaScript project into a self-contained binary—runs anywhere, even if the user doesn't have Bun or Node installed. Works with native addons. Fast startup. Easy to distribute.

[–] irelephant@lemmy.dbzer0.com 12 points 1 day ago* (last edited 1 day ago)

It's more of a node.js competitor, but it doesn't use v8, it uses safaris js engine. https://bun.com/blog/how-bun-supports-v8-apis-without-using-v8-part-1

[–] sga@piefed.social 1 points 1 day ago

i am not a web dev, so please correct me if i am wrong, but a runtime is essentially a specific version of browser in some capacity, more comparable to blink in some sense (minus the html+css parts). so there is a js engine (v8 or firefox's spider if i am not wrong) and that essentially just executes the js, but it needs stuff around it (think for example io or cli interface). none of the run times implement independent js engines, as they are really hard, but surrounding stuff is relatively easier, and likes of deno/node/bun implement that.

And as other commenter said - it has other stuff too, for example a package manager, transpiler (most common would be converting typescript to js i think), bundler (just makes a bundle kinda like java jar), etc.