News for hackers. Stuff that matters.
Re:Bun v0.5 by 999900000999 on Wednesday January 18, 2023 @04:26PM (#34433316)
Like with any promising project, what are the downsides ?

How are you funded? Is speed enough of a concern to take a risk on using this vs Node ? From my experience with Node your lucky if it works at all, I don't know if I'd like to add another variable when things go wrong.

I can't imagine this supporting every single npm module.

That said, god speed. If you can really make JavaScript fast as a complied language, I and many other JS devs will be happy.

Re:Bun v0.5 by swyx on Wednesday January 18, 2023 @06:52PM (#34434846)
"Oven has raised $7m in funding led by Bucky at Kleiner Perkins with participation from Guillermo Rauch, YCombinator’s Continuity Fund and more." https://oven.sh/
Re:Bun v0.5 by okhuman on Wednesday January 18, 2023 @10:29PM (#34436379)
One downside: core devs only prioritize bun features which can enable use cases for running your code in their edge/hosted platform.

Missing some of the other general purpose use cases/servers that devs would want to build - which wouldn't fit into bun's flavor of hosting.

Re:Bun v0.5 by 999900000999 on Thursday January 19, 2023 @03:17AM (#34437930)
>Oven will provide incredibly fast serverless hosting & continuous integration for backend & frontend JavaScript apps — and it will be powered by Bun

Getting early funding is cool , but I'm not sold on the business model. Tons of hosting providers exist, corps are unlikely to switch meaning your stuck selling to hobbyist / small developers.

That said, they just need to stay alive until aquired

Re:Bun v0.5 by ZephyrBlu on Thursday January 19, 2023 @04:29AM (#34438368)
You should watch some of the interviews Jarred has given. Don't have any links, but searching "jarred sumner bun" on YT will bring some stuff up. His ideas for Bun are very different to a stock-standard hosting and he's thinking very long term.

Another thing is that he intends for Bun to be a drop-in replacement. Why •wouldn't* you switch hosting providers for a free massive boost in performance?

Re:Bun v0.5 by 999900000999 on Thursday January 19, 2023 @10:30AM (#34441332)
>Another thing is that he intends for Bun to be a drop-in replacement. Why •wouldn't* you switch hosting providers for a free massive boost in performance?

So I'm going to convince upper management to let me host our apps in a new unknown hosting provider vs the AWS contract we already likely have ? Maybe if your a CTO at a startup you could pitch this, but for the most part I'd imagine people will end up using Bun on existing hosts like AWS and Azure.

Nothing stops AWS from implementing whatever makes Bun hosting faster on their own platform. Don't get me wrong, I REALLY love Bun as an idea. I'm just not sure it'll make money.

Re:Bun v0.5 by okhuman on Wednesday January 18, 2023 @10:40PM (#34436443)
Bun and deno are in an arms race for nodejs compatibility in order to leverage node's vast ecosystem of libraries (think the "embrace" stage of embrace/extend/extinguish). This compatibility layer will take a long time... and will require early adopters to take more time to produce work which their nodejs counterparts can perform faster.
Re:Bun v0.5 by culi on Thursday January 19, 2023 @01:17AM (#34437282)
I've been using Deno for a few months and haven't run into an npm package I couldn't use yet...

I feel like compatibility-wise both projects are mostly there already

Re:Bun v0.5 by captainmarble on Thursday January 19, 2023 @03:53AM (#34438147)
Try AWS npm