How does Bun’s GC work?<p>I have a CLI ghat does some processing and Bun used all the memory and pushed me deep into swap on a 64gb ram machine. I added some Bun.sleep(1) in the some loops to give the GC more time but that didn’t help much.
It would help to say a few words in the submission about what bun is supposed to be and why anyone should care. The name sounds like a recipe app or something for my culinary experience.<p>From the docs [1], "Bun is an all-in-one toolkit for JavaScript and TypeScript apps. It ships as a single executable called bun ."<p>[1] <a href="https://bun.sh/docs" rel="nofollow">https://bun.sh/docs</a>
Is it expected to work in the real world? I don't think so<p>% bun test
bun test v0.5.7 (5929daee)<p>17 | expect([...]
^
error: Not implemented<p>error: Unexpected ?
?PNG
^
[...]/a.png:1:1 0<p>zsh: segmentation fault bun test
I've been trying to get bundling working with bun without success using `bun bun`. It just crashes or hangs. Is there an way to get bun to work like `esbuild --bundle` ?
Any news on musl support?<p>Jarred previously mentioned it was worth a look: <a href="https://news.ycombinator.com/item?id=34431432" rel="nofollow">https://news.ycombinator.com/item?id=34431432</a>
no Windows:<p><a href="https://github.com/oven-sh/bun/issues/43">https://github.com/oven-sh/bun/issues/43</a>
I was really excited about Bun when it first launched and even joined the early beta and it blows the doors off most other options (webpack) for sure.<p>However, I've discovered Vite since then, and I know it's not a 1:1 comparison, but Vite is much more mature, and does everything I need and is incredibly user friendly and plenty fast enough for me. I kinda feel like Bun missed its moment already. Someone convince me otherwise please. I'm loving Vite it's a huge step up from Webpack, and isn't leaving me wanting for anything more.