💻 I don't write code as much as before anymore, and I'm fine with this, but when I do it has to be a damn haiku to compensate the occasional nostalgia with pure satisfaction.

💻 Decided to finally give #Bun (https://bun.sh/) a go on a small but has-to-be-performant #Nodejs utility to process hundreds of thousands CSV rows:

25sec → 15sec

Not bad, especially considering that I just ran a single command to migrate the lock file, and that's it.

No need for tsx (https://github.com/privatenumber/tsx) is also a nice bonus.

Bun — A fast all-in-one JavaScript runtime

Bundle, install, and run JavaScript & TypeScript — all in Bun. Bun is a new JavaScript runtime with a native bundler, transpiler, task runner, and npm client built-in.

Bun
Bun's Roadmap · Issue #159 · oven-sh/bun

Bun's roadmap 2024 Q4 bun install #11863 (will unblock dependabot/dependabot-core#6528) #6608 Fixes for frequently-reported issues for things like private git URLs and some edgecases with hoisting ...

GitHub
💻 TIL: modern way to forward and handle stream errors.