Skip to content

Remarks and brief examples having to do with use of Rust in Web service

License

Notifications You must be signed in to change notification settings

claird/Rust-for-Web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

Rust-for-Web

Remarks and brief examples having to do with use of Rust in Web service

Varieties of Web Experience

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

Simplest possible Web service with base Rust

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.]

Rust CGI

[Explanation here.]

Static Web sites generated with Rust

[Explanation here.]

Rust-oriented Web application service

[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.

Firefox Quantum Web browser

[Explanation here.]

Locuses of Rust intelligence

[Explain r/rust, Discord chat, ...]

About

Remarks and brief examples having to do with use of Rust in Web service

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published