Remarks and brief examples having to do with use of Rust in Web service
Rust's garbage-collection-less advantages and benefits (Discord found it bested Go in "... every single performance metric ..., and so on) apply in particular in Web applications. This repository introduces the topic of Rust's use in Web service sorted in broad architectural terms.
- Simplest possible Web service with base Rust
- Rust CGI
- Static Web sites generated with Rust
- Rust-oriented Web application service
- Firefox Quantum Web browser
- Locuses of Rust intelligence
Andrew Lader has a 47-line "Simple HTTP Server in Rust". [Provide usage for those utterly unfamiliar with Rust.] Comparable implementations in Go fill fewer than thirty lines, and in Python or Ruby line counts are between fifteen and two dozen [provide references]. Lader supplies more detail in "Should I Rust, or Should I Go". [On "other side", refer to C-coded example.]
[Explanation here.]
[Explanation here.]
[Explanation here.]
Sascha Grunert supplies a complete small authentication demonstration.
Actix is "... a powerful, pragmatic, and extremely fast web framework for Rust." It requires, for example, a fortieth (!) the memory of a comparable Django instance.
[Explanation here.]
[Explain r/rust, Discord chat, ...]