Hacker News new | ask | show | jobs
by 4lejandrito 980 days ago
I've come to realize how cool bun is when building fetchbook. I couldn't have used typescript as the main language so easily without it. I am very happy with it so far.
1 comments

> I couldn't have used typescript as the main language so easily without it.

I am very skeptical of this. Could you convince with me with more specific details?

I've used ts-node before to run Typescript and my experience has been good, I've generally managed to do what I wanted. However with ts-node the speed is low (specially startup time) and I've always had problems with different module formats, dependencies etc. With bun everything just worked and it is so fast.

I cannot say that fetchbook would not have been possible without bun, but I am fairly confident it would not have taken me 3 days from idea to this HN comment.

Maybe give it a go?

Edit: maybe using deno would have been as easy... but I chose to try bun and I felt in love with it instantly.

Typescript _is_ easy to setup and use these days, but whats the point of setup when you can run bun and it just works perfectly instantly with zero setup?