Bun 1.1.13 out with memory fixes as dev complain of leaks
Posted by stronghup@reddit | programming | View on Reddit | 18 comments
Posted by stronghup@reddit | programming | View on Reddit | 18 comments
Relative_Grape5920@reddit
is this because of bun, none of my dependencies are native (c/cpp))
[
Maybe-monad@reddit
Bun is far from being mature enough to deploy in production
justmebeky@reddit
Looking at you Claude Code
Atraac@reddit
Bun is not only runtime but also a package manager. We run some of our apps on bun runtime for a while, no issues at all. And I just migrated our chunkiest monorepo to bun package manager because pnpm is slow AF. This actual release fixed the major issue we had with stuck installs through next js dependencies. It's working great.
laffer1@reddit
On the 3 os and 2 CPUs it can ran on. It needs to die
Maybe-monad@reddit
pnpm slow?! Are you depending on half of the npm registry?
Atraac@reddit
We have react native, few nextjs apps, two fastify backends, smart contracts and few other minor projects within our monorepo. PNPM has a bunch of issues, f.e. it runs postinstalls from all monorepo projects whener you call install, which causes random ass problems, like downloading 3gb of cocoapods from react native project when you work on the api etc. Even running pnpm on a project where everything was installed takes few seconds, where in bun it's nearly instant
Maybe-monad@reddit
pnpm had run postinstall scripts by default until version 10 but can be explicitly configured not to, bun doesn't postinstall scripts by default. If you enable postinstall scripts in bun you'll get the same problems you have with pnpm
really_not_unreal@reddit
Pnpm is very fast compared to npm, but is still miles slower than bun. pnpm install on a fresh clone of one of my projects can take up to 10 seconds with a warm cache. NPM can take up to a full 45 seconds. Bun takes about one second.
Obviously this is just my memory, and is not a real benchmark, but pnpm is much slower than bun in my experience.
femio@reddit
currently using it in production for some internal tooling + microservices and enjoying it. SQL driver, S3 client, test runner, ad hoc scripts. I wouldn't build an entire project on it but it's pretty mature for vanilla use cases.
laffer1@reddit
Please don’t use it. Keep cross platform compatibility instead
RichestGuyInDisguise@reddit
It’s 1.3.13 though not 1.1.13. The article literally links to the official bun website which confirms the version.
matthieum@reddit
This is why I don't like these paraphrasing websites -- they add nothing of value, hide the source behind a random link in a random paragraph, and regularly screw up their editing work :/
I wish people would just skip the slop, and link to the source.
Zanion@reddit
The source is owned by a Anthropic. So it's slop too.
CherryLongjump1989@reddit
The Register is normally a reputable source.
crusoe@reddit
Who'd have guessed when you use a memory unsafe language you'd get leaks and crashes...
QuaternionsRoll@reddit
Don’t make me tap the sign
PartyMammoth5083@reddit
ing about this yesterday