Remix.run Logo
franciscop 5 days ago

Bun has been nothing but amazing wins for me, and I really like what it enabled me to do. Two examples:

- I have a couple of projects that handle images. I was including Sharp, but since these are side projects in a small VM, often a redeploy that recompiled Sharp just crashed the full VM (out of memory). Bun includes Bun.Image[1] natively, which is built around Sharp's API, so swapping Sharp out was very easy, and now deploys are a breeze (and swapping it in would be just as easy).

- Bun's JSX support is a godsend. I've replaced almost all my side projects that were backend rendered from Pug, Handlebars, and other various templates I used to have to just pure JSX. Heck, this made it trivial to make a side projects where the Favicon was a dynamic SVG [2]

[1] https://bun.com/docs/runtime/image

[2] https://stocksreader.com/portfolio?%5Egspc=10&amzn=10&msft=1...

tipiirai 5 days ago | parent | next [-]

I also use Bun.Image to collect image size and metadata, and also to generate low-quality image placeholders. Works great.

Have you tried 1.4?

CrimsonRain 4 days ago | parent [-]

have you? Type -canary instead of this garbage article

4 days ago | parent | prev [-]
[deleted]