What does HackerNews think of bun?

Incredibly fast JavaScript runtime, bundler, transpiler and package manager – all in one.

Language: Zig

#61 in JavaScript
#30 in Node.js
#2 in npm
#13 in React
#27 in TypeScript
Please file an isusue in https://github.com/oven-sh/bun and include the code to reproduce it
Link to the github for anyone who is interested. https://github.com/oven-sh/bun
Going to https://github.com/oven-sh/bun

It seems bun is:

Zig 52.0%

C++ 19.2%

JavaScript 14.6%

TypeScript 12.1%

...

which is an interesting mix. I assume the JS is intended to be TS eventually or actually is right now. But why all the C++?

Absolutely, but if I had to rank Open Source projects by "enjoyment level to work on", I would rank a 10+ year old Java project primarily used by enterprise companies quite low on my list!

Compare that to something like Bun.js[0] which is "sexy" and written in a "cool" programming language (Zig). Or Wasp[1] which is built with Haskell and is trying to define a new programming language designed to make common dev patterns less painful.

Those projects are naturally going to soak up smart people that have extra energy to share because they hate their day job but need to pay their bills. (imo)

Who is left that wants to bang their head against a legacy codebase like Log4j? Maybe somebody that feels there is "clout" to be had from it? (Spitballing here, I honestly don't know!)

0: https://github.com/oven-sh/bun

1: https://github.com/wasp-lang/wasp

Cool! Actually, cool is an understatement, but I'm too foreign to Imba to provide feedback on that front. Pretty sure there is enough to spark a discussion, but few bullet points:

* Imba focused, yet you're greeted by TS example and the Imba demo is too dense to parse quickly

* Not enough short info and too much text to spark my interest for reading

* I still want to read something, so I head to GH repo (I have to search for actual core repo, plus I'm greeted by wall of text again) and when I found it, the README is bare :(

https://github.com/oven-sh/bun and bun.sh are pleasant reads for me. All of this is subjective and might turn be a turn-off for hardcore folks, but that's not really the target audience for Imba anyway :)

And don't fear the direct URL!

I always enjoy reading about Zig advancements. I haven't developed anything substantial in Zig yet, but I'm very optimistic about the future of the language.

If you're curious to see a large Zig codebase, two significant projects are Bun [1] and TigerBeetle [2].

[1] https://github.com/oven-sh/bun

[2] https://github.com/tigerbeetledb/tigerbeetle

Oven | https://oven.sh | REMOTE or San Francisco | Full-time

Oven is hiring systems engineers to make JavaScript faster. We're building Bun: an extremely fast JavaScript runtime, transpiler, npm package manager and bundler – all-in-one.

Last week, we raised a $7 million seed led by Kleiner Perkins

Bun is open-source: https://github.com/oven-sh/bun

Oven is an early stage startup and early hires get significant equity offers (along with salary). It's going to be a lot of hard work.

Shoot me an email: [email protected]