Live data from Hacker News

Is Rust Web Yet?

arewewebyet.org

21–30 of 183 posts

Re: Is Rust Web Yet?

#21
post #9

This content, while still accurate (Rust is Web-ready, and all the frameworks listed are excellent!), is missing out a few credible and recent options. In particular I want to shout out for Axum ( https://github.com/tokio-rs/axum ), from the folks who brought us Tokio. I've been building with it for the past few weeks and have enjoyed every minute. I started with Warp, but ended up struggling a bit with middleware. I…

Ditto with my journey from Warp to Axum. The Rust Playground now uses[1] Axum as its backend and I’ve been pleased with working with the maintainers.

[1]: https://github.com/integer32llc/rust-playground/pull/777

Re: Is Rust Web Yet?

#23

Can some explain why I always get cult like vibes from the rust community?

Go here: There can only be so much free coke at the Gopher meetups, so we promote Rust to throw people off and keep the numbers down.

Re: Is Rust Web Yet?

#25
post #15

Can some explain why I always get cult like vibes from the rust community?

Because C is 50 years old and boring. And Rust is slightly more intellectually demanding and takes longer to get into so has a a smaller monk like comm-- oh my god.

Rust is safe. That is huge. The CVE vulnerability list would be like 1/10 the size if Rust were introduced 30 years ago.

Re: Is Rust Web Yet?

#26
post #8

> Yes! And it's freaking fast! Going by these benchmarks (click around to find your own use case) Rust is definitely fast, but not (much) faster than many other languages, including Javascript. https://www.techempower.com/benchmarks/#section=data-r20&hw=... When it comes to JSON serializers, there is a Java framework that is faster than Rust, which is interesting to say the least. When you start comparing actual full…

Not that I think those metrics are all that relevant, but can someone explain to me how just-js ranks so highly? Very much defying my expectations in comparison with some of the top representatives of compiled languages.

Re: Is Rust Web Yet?

#27

Can some explain why I always get cult like vibes from the rust community?

Imagine your job is hammering nails. Eight hours a day for twenty years. You’ve hammered 403,286 nails.

And then someone shows up and hands you a nail gun.

Rust makes me happy because we speak the same language. Stuff gets done and I go home at 4:30 and play with my kids instead of my compiler.

Re: Is Rust Web Yet?

#30
post #3

"Rust has mature and production ready frameworks in Actix Web and Rocket" Why is Rocket considered production ready when it's only just at version 0.5? Similar <1.0 stories can be found on crates for sqlx, rusqlite, and postgres. Am I wrong in assuming the API must be quite stable before it can receive the 'production ready' label?

Rust versioning is different than the custom in lots of other languages. There are lots of perfectly good mature 0.x libraries.
Post reply on HN