from Hacker News

Bun v1

by johnny_reilly on 9/7/23, 7:56 PM with 21 comments

  • by Jarred on 9/7/23, 9:03 PM

    I work on Bun. Bun v1 is not out yet - this blog post was not supposed to be public until it's ready
  • by ushakov on 9/7/23, 8:58 PM

    Things that people often seem to forget about when talking about Bun:

      * Written Zig, an unstable programming language
      * Segfaults and crashes are common
      * Doesn’t work on windows (edit: fixed in v1)
      * The web-server is based on uWS, a third-party dependency maintained by one person
      * Vendor-specific APIs like Bun.serve, Bun.file, etc. You can call Node APIs in Bun, but you cannot call Bun APIs in Node
      * Tries to be everything at once: a bundler, a compiler, a package manager, a runtime, a testing framework, etc. 
      * A VC-baked effort. If the funds run dry there is no Bun anymore
  • by dang on 9/7/23, 9:00 PM

    Related ongoing thread:

    Bun 1.0 announcement [video] - https://news.ycombinator.com/item?id=37422106 - Sept 2023 (56 comments)

  • by adam_arthur on 9/7/23, 9:07 PM

    I've been very excited for Bun.

    And while the premise is still great, the enthusiasm has waned a bit in recent months. A lot of the decision making process seems a bit arbitrary and off the cuff, at least as presented on Twitter. Could be a mischaracterization as I haven't followed the Github threads closely.

    I also question the use of Zig for a project that's intended to replace node and be production ready. It may be fun to work with and something fresh/new, but taking something very unproven and in heavy development is not a way to inspire confidence among your potential adopters.

    I hate the Rust meme as much as anybody else, but I really question why you wouldn't use it here. The author of Bun posts about tracking down memory leaks on the regular... which shouldn't even be a problem space a modern runtime deals with.

    All that being said... I will definitely use Bun for CI/builds/local projects... much more hesitant to use it for a production/live service at this point

  • by ddoolin on 9/7/23, 8:56 PM

    As of now, there is still no v1 build up on Github, although this was announced hours ago.
  • by fithisux on 9/8/23, 4:59 AM

    Let's give them some time.