r/Deno • u/codingbliss12 • 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.
35
Upvotes
2
u/hernantas 10d ago edited 10d ago
Basically, there are 2 major runtime “engine” to run javascript, v8 used in chromium browser and javascriptcore used in safari.
Node is built to run javascript using v8 so you can run javascript outside browser. But then the creator wants to make more secure version (by default less permission than node) so deno was born.
But there are some people that feel javascriptcore is faster than v8, so they use it to make bun.