Foundations

Foundations

18 bookmarks
Newest
Prototyping in Rust | corrode Rust Consulting
Prototyping in Rust | corrode Rust Consulting
Programming is an iterative process - as much as we would like to come up with the perfect solution from the start, it rarely works that way. Good programs often start as quick prototypes. The bad ones stay prototypes, but the best ones evo…
·corrode.dev·
Prototyping in Rust | corrode Rust Consulting
Inserting values of multiple types in Rust's HashMap
Inserting values of multiple types in Rust's HashMap
How to build a heterogeneous collection in Rust, using values of different types.
let mut map: HashMap<&str, Box<dyn Display + 'static>> = HashMap::new();
·simonewebdesign.it·
Inserting values of multiple types in Rust's HashMap
Learn to become a Rust developer
Learn to become a Rust developer
Community driven, articles, resources, guides, interview questions, quizzes for Rust development. Learn to become a modern Rust developer by following the steps, skills, resources and guides listed in this roadmap.
·roadmap.sh·
Learn to become a Rust developer
Enums and Pattern Matching in Rust
Enums and Pattern Matching in Rust
In Rust, enums are composite data types that can have multiple variants. In this article, we show you how to define, instantiate, and use them. We also cover pattern matching and two common enums for error handling: Option and Result.
·serokell.io·
Enums and Pattern Matching in Rust
Traits in Rust
Traits in Rust
In this article, we cover the basics of traits in Rust: what they are, when they are useful, and how to use them.
·serokell.io·
Traits in Rust
Generics in Rust
Generics in Rust
With Rust generics, programmers can write general algorithms that work with arbitrary types, reducing code duplication and providing type safety. In this article, we show when and how to use them.
·serokell.io·
Generics in Rust
Get Started with Rust: Structs
Get Started with Rust: Structs
In Rust, structs are composite data types that contain multiple related types. In this article, we show you how to define and instantiate structs, derive traits for them, and create struct methods.
·serokell.io·
Get Started with Rust: Structs
Home | Rust Helpful Codes
Home | Rust Helpful Codes
rust.helpful.codes is a directory of helpful codes and explanations regarding datastructures, algorithms, patterns and some tutorials on common programming problems as well as known libraries tutorials, using rust.
·rust.helpful.codes·
Home | Rust Helpful Codes
Working with Environment Variables in Rust
Working with Environment Variables in Rust
This post shows how to work with environment variables in Rust using both, the standard library and the envy crate.
use std::env;
·thorsten-hans.com·
Working with Environment Variables in Rust