3 ms·
`bun` is currently my favorite "just works out of the box" utility for running Typescript programs. I've tried a couple and struggled with configuration and, o
by gavmor 3y ago
`bun` is currently my favorite "just works out of the box" utility for running Typescript programs.
I've tried a couple and struggled with configuration and, on top of it all, bun is simply faster.
So, if you want to write a bunch of `.ts` files and point something at them, I really recommend `bun` (and, frankly, why would you write `.js` in 2023? Probably because you've not tried bun.
Edit: I don't care about bundle sizes, because I'm just using bun to run my @benchristel/taste sub-second test suite.
- Kamq 3y ago> and, frankly, why would you write `.js` in 2023? It's surprisingly convenient for munging around random json files or calling random apis that return json (or for dealing with an interaction between the two), especially now that fetch ships with node.
- mark_and_sweep 3y agoHave you tried Deno yet? I've been using it for years now, without any config. It's fast, too.
- gavmor 3y agoNo, but I should. It looks solid: https://medium.com/deno-the-complete-reference/deno-vs-bun-performance-comparison-for-api-proxy-bf89ec3571be https://medium.com/deno-the-complete-reference/deno-vs-bun-p...