Diego Barrancodiagram.hashnode.dev·Apr 25, 2024Rust with diagrams: Ownership 6 - References & BorrowingBefore reading about References and Borrowing, you should know how variables and data interact with "move" and "clone" and understand the concept of the Heap. You can find a summary of these topics in the next articles. Rust's memory approach, Data i...DiscussRust
Diego Barrancodiagram.hashnode.dev·Apr 19, 2024Rust with diagrams: Ownership 5 - Return Values & ScopeUntil now, we discussing about Rust memory approach and how variables & data interacting on Stack & Heap. It's time to learn about Ownership Rust concept. What is Ownership? Ownership is a set of rules that govern a Rust program manages memory. All p...DiscussRust
Diego Barrancodiagram.hashnode.dev·Apr 19, 2024Rust with diagrams: Ownership 4 - Stack-Only data: CopyBefore delve deeper into how data interacts in memory with stack-only, you should know about Rust's memory apporach and i recommend read Data interaction with Move and Data interaction with Clone. STACK-ONLY DATA: COPY In the "Rust's memory approach"...DiscussRust
Diego Barrancodiagram.hashnode.dev·Apr 18, 2024Rust with diagram: Ownership 3 - Data interaction with CloneBefore delve deeper into how data interacts in memory with clone, you should know about Rust's memory apporach and check Data interaction with Clone article. Variables & Data interaction with Clone Variables and data interaction with clone means that...DiscussRust
Diego Barrancodiagram.hashnode.dev·Apr 17, 2024Rust with diagrams: Ownership 2 - Data interacting with MoveBefore delve deeper into how data interacts in memory, you should know about Rust's memory apporach. When we are writing code that assigns data into Heap, we have two ways to handle variables and data interaction in memory: with Move and with Clone. ...DiscussRust
Diego Barrancodiagram.hashnode.dev·Apr 16, 2024Rust with diagrams: Ownership 1 - Rust's memory approachBefore understanding Ownership, we should know about Rust's memory approach. Memory: STACK & HEAP Rust has two different ways to handle data in memory: Stack: better performance, first in first out, size and type is known in compile time, fixed size....Discuss·33 readsRust
Waleed Javedwaleed.hashnode.dev·Mar 27, 2024Pragmatically Transfer Codebase to new Git Account Repo without changing ownership of old Git Account RepoIf you want to transfer the repository and its code to another GitHub account programmatically, you can follow these steps: Clone the Repository: First, you need to clone the repository from your current account to your local machine using Git. git...DiscussGitHub For DevsGitHub
Metismetis.hashnode.dev·Feb 13, 2024The Three Pillars of Successful Database Maintenance and MonitoringDevelopers and DevOps engineers don’t own their databases. They query the data, they implement schema migrations, but they rarely maintain databases, tune the performance, and solve the issues when they appear. Instead, developers get help and suppor...DiscussSQL
Dipto Biswasdiptobiswas.hashnode.dev·Jan 22, 2024Ownership in RustIntroduction Ownership is a unique Rust-only concept, that keeps Rust Programs safe. And as the Rust Book says Safety is the Absence of Undefined Behavior. To give an example this program is safe. fn main() { let x = 5; println!("{x}"); } An...DiscussRust
David Saahdavesaah.hashnode.dev·Jan 18, 2024Day 3/100: Understanding OwnershipA Memory Developers ask for the freedom to do whatever they want. Well, that's available; you can take it :). However, the question is, do we need it? Yes and No! In the context of programming languages, C is considered the mother. In C and many othe...Discuss·1 like·57 reads100 Days of Code100DaysOfCode