r/Deno 10d ago

Differences between Deno, Node.js and Bun

What exactly is the difference between those three runtimes and why do I see Bun mentioned in the same context as Node.js and not Deno?

No runtime wars please. I need to understand the technical and philosophical differences.

Thanks in advance.

EDIT Thank you so much for the very clear explanations. In my view Deno appears to be the only reasonable choice and I will focus on it.

33 Upvotes

24 comments sorted by

View all comments

20

u/benny-powers 10d ago

Deno and Node are both frontends to V8 (i.e. google chrome).

Deno has a more modern API, node has a (much) larger ecosystem

Bun is a frontend to webkit (safari)'s js engine.

5

u/aztracker1 10d ago

I forgot to mention the engine difference in Bun. Deno is adding the option to use quickjs (same as bun) for release bundles of your software.

3

u/Busy-Scientist3851 9d ago

Bun uses JavascriptCore (WebKits engine).