Settings

Theme

Bun 1.3

bun.com

56 points by vqtska 3 months ago · 9 comments

Reader

jakegmaths 3 months ago

Bun is brilliant. I rarely have to install any packages, as Bun has just the right things built in, like SQL, S3 and now Redis too.

atonse 3 months ago

I love bun. Been using it for over a year and haven't turned back. I wish Vercel supported it as a runtime.

It's my default for whenever someone says "npx" whatever, unless it breaks (which it pretty much never does)

pier25 3 months ago

I've been using Bun for the past few weeks and it's quite impressive.

The stack: Bun, Hono, Zod, Drizzle, and Postgres.

Zero issues so far. Everything is super snappy.

KronisLV 3 months ago

No comments? I thought that an all-in-one development tool would get at least some admiration (or opinions that would be educational to me) from the lovely people on HN.

Like, getting MySQL/MariaDB/PostgreSQL/SQLite and Redis/Valkey support out of the box alongside a bunch of other web stuff that you'd otherwise have to rely on something like Express.js for seems pretty good, when you don't want to have too many dependencies that are loosely scattered around!

Now this might be a more personal opinion, but that's also why I think there is some value in something like Angular for front end development vs the complexity of Next.js / Nuxt.js and the library like nature of React or Vue (even if in general I much prefer the ergonomics of using Vue to everything else).

  • christophilus 3 months ago

    It’s an impressive release. I’m a big fan of Bun. I do wish their SQL drivers supported streaming of results. Currently, iirc, it loads the query results into an array.

    It’s a minor bit, but it made me reach for Go for a recent project.

  • ksec 3 months ago

    >No comments?

    Didn't reach high enough on HN. Sometimes it is hard to get it on front page.

    • KronisLV 3 months ago

      Oh well, would have been cool to hear both from people using it daily, as well as those that have bad experiences. Another time, I guess.

      • evahop 3 months ago

        I will occasionally run into a dependency like drizzle-kit that perhaps isn’t runtime aware/agnostic enough to “just work”. I’ll admit I haven’t researched it to the fullest extent, but for a handful of projects I did have to include node.

CuriousRose 3 months ago

I love bun, but the things I wish it was used for it is not being implemented. Namely language servers in editors like VS Code and Zed for dramatic performance improvements, and serverless environments like Vercel and Cloudflare. Maybe I'm missing something, but aren't all these bun native APIs useless if they are deployed to environments that only support Node? Is everyone using bun for dev also managing their own infra stack?

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection