I recently pivoted to Rust for the backend development, after getting tired of the nodejs ecosystem fragmentation and how fragile things feel. Bun seems very interesting since it allows you to do so many things without pulling in 3rd party libraries and bundlers? Is anybody using it instead of nodejs? how's the experience so far? I might have to give it a try.
Yes, I know there's probably better options than Rust for building APIs, but I wanted to learn it, so why not?
The most appealing thing of Go to me is the good batteries including tooling. I don't use it much outside of little personal projects where I really don't want to deal with dependencies and want a small binary.
Yeah, I prefer Rust as a language but the ecosystem and toolchain is risky. E.g. build time scripts from upstream is too risky these days and it’s commonly used.
This has been my choice for a while too, especially when I found out that you can embed a full-ass webapp in a single executable.
Backend + web API + the actual web pages all contained in a single file. If you have sane defaults, deploying is literally just copying a single executable over.
I'm using it, though I'm leery of how the project is run. It's been great, to be honest. I have been able to build very low-dependency projects quite quickly. Bun's documentation is decent, and its underlying features are performant.
I use it heavily for personal use and find it works very well and lets me ship small applications quickly. I still use rust and other languages too as appropriate.
Yes, I know there's probably better options than Rust for building APIs, but I wanted to learn it, so why not?