News for hackers. Stuff that matters.
Re:Bun's New Crash Reporter by Stoids on Friday April 26, 2024 @02:35PM (#40172662)
I have not used it in production yet, but it's been great for one-off scripts and side projects. Setting up a TypeScript Node environment with ts-node, ts-jest, ESM support, top level await, etc. is more annoying than it should be. More recent Node releases have alleviated some of this pain, but not as trivial as running bun init.

I've enjoyed using the bun shell [1] API.

[1] https://bun.sh/blog/the-bun-shell

Re:Bun's New Crash Reporter by lvncelot on Saturday April 27, 2024 @02:12AM (#40177696)
Ohh bun shell looks interesting. I was looking at zx[1] for some frontend pipeline scripting tasks that were just beyond maintainable bash, but maybe I'll give bun shell a go.

[1] https://github.com/google/zx

Re:Bun's New Crash Reporter by drewbitt on Saturday April 27, 2024 @02:21AM (#40177735)
Bun shell has less features than zx or dax https://github.com/dsherret/dax. I tried it out but had to change tooling.