Soham Panchalsohamdesu.hashnode.dev·Jul 28, 2024Real life example use case of macros in Rust: Declarative macrosWhat are macros? Macros in rust are the way of writing the code of requirement, with the code itself. That's confusing, right? Basically talking, it gives us the power of generating the context suitable code whenever and wherever we would need it in ...Discuss·6 likesRust
Harold Rippinharoldrippin.hashnode.dev·Jul 6, 2024[Rust] Variables part 4A variable is a named storage that a program can manipulate.Simply put, variables help programs store values.Variables in Rust are associated with a specific data type.The data type determines the size and layout of the variable's memory, the range o...Discuss·47 readsRust Rust
Harold Rippinharoldrippin.hashnode.dev·Jun 24, 2024[Rust] Data Types part 3A data type system represents the different types of values supported by a language.It allows for code hints and automated documentation while validating the values provided before they are stored or manipulated by the program and verifying that the ...Discuss·30 readsRust
Sachin Borsesachinborse.hashnode.dev·Jun 12, 2024Avoiding unwrap() in Production Code: A Guide to Writing Robust Rust ApplicationsIn the vast world of Rust programming, where safety and reliability are super important, there's a tricky function called unwrap(). It might seem like a handy tool at first, but it can actually be a bit dangerous, especially in serious situations lik...DiscussRust
Francesco Ciullablog.francescociulla.com·Jun 8, 2024unwrap_or_else in RustThe unwrap_or_else method is used as an Option or Result type. Let's see an example for both. unwrap_or_else on an Option For Option, the unwrap_or_else method is used to provide a fallback value if the Option is None** fn main() { let some_valu...DiscussRust
Dhanush Ndhanushnehru.hashnode.dev·Jun 7, 2024Announcing runtime-environment: A Rust Crate for Detecting Operating Systems at RuntimeHey! I am excited to announce the release of my new Rust crate as part of my learning process “runtime_environment”! 🦀 This pack is perfect for programmers who want to detect operating systems at runtime. It also provides a flexible toolkit for this...Discuss·8 likesrust crates
Firoz Khancodezakiblog.hashnode.dev·May 31, 2024Understanding Rust Functions: A Beginner's GuideIntroduction In the world of programming languages, Rust stands out for its performance, memory safety, and concurrency. One of the fundamental building blocks in Rust, as in any programming language, is the function. Functions in Rust allow you to e...DiscussThe Rust Path 🦀🦀Rust
Firoz Khancodezakiblog.hashnode.dev·May 28, 2024Understanding Data Types in Rust: A Comprehensive GuideIntroduction Rust, known for its emphasis on safety and performance, is a systems programming language that offers a rich set of data types to help developers manage memory and write robust code. Whether you're new to Rust or looking to deepen your u...DiscussThe Rust Path 🦀🦀Rust
Firoz Khancodezakiblog.hashnode.dev·May 25, 2024Understanding Rust Variables and MutabilityIntroduction As a budding software developer, understanding the fundamentals of a programming language is crucial. Rust, known for its performance and safety, offers unique ways of handling variables and mutability. In this article, I’ll delve into h...DiscussThe Rust Path 🦀🦀codezakiblog
SOUMITRA-SAHAssblogs.hashnode.dev·May 23, 2024Understanding Cargo in Rust: Project Management Made EasyIntroduction to Cargo in Rust Rust is a systems programming language known for its performance, reliability, and memory safety. One of the essential tools in the Rust ecosystem is Cargo, which is the build system and package manager for Rust. In this...DiscussRust tutorial