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....DiscussRust
Ritwik Mathritwikmath.hashnode.dev·Apr 13, 2024Python ImmutaInsights: Understanding Memory and Immutable VariablesWe all know that Python has two types of objects: mutable and immutable. The names are also self-explanatory. Values stored in mutable objects can be changed, but the value of an immutable object cannot be changed. For example, a string containing my...Discuss·74 readsPython
Sukalyan Roysukalyanroy.hashnode.dev·Apr 1, 2024Exploring PointersPointers Pointers are an important aspect of learning programming. It's a part of every 101 course and used in almost every major algorithm or data structure under the hood for greater performance. it's good to have a basic understanding of pointers,...Discuss·11 likes·42 readspointers
Oladimeji Alabi Taofeekdimcoder.hashnode.dev·Jan 30, 2024A Beginner's Guide to Pointers in C: Understanding and ApplicationIntroducing the C programming language The C language was developed in 1972 at At&T Bell Labs by Dennis Ritchie. It combines features of the B and BCPL (Basic Combined Programming Language) programming languages but is also mixed with the Pascal lang...Discuss·12 likes·77 readspointers
Jyotiprakash Mishrablog.jyotiprakash.org·Jan 30, 2024An introduction to pointersPointers in C are a fundamental and powerful concept used for memory management. A pointer is essentially a variable that stores the memory address of another variable. This allows for direct access and manipulation of memory locations, which can lea...Discuss·198 readspointers
Raineraineyang.hashnode.dev·Dec 31, 2023Rust Learning Note: Pin and UnPinThis article is a summary of Chapter 4.11.3 of Rust Course (course.rs/) and blog (folyd.com/blog/rust-pin-unpin/) The Use of Pin Pin is a smart pointer that encapsulates another pointer. It is represented as Pin<P<T>>, in which P is a pointer pointin...Discussunpin
Raineraineyang.hashnode.dev·Dec 30, 2023Rust Learning Note: Unsafe RustThis article is a summary of Chapter 4.9.1 of Rust Course (course.rs/) Code inside unsafe allows behaviors that are not permitted by the compiler in safe Rust, including: Dereferencing a raw pointer Invoking an unsafe or external function accessin...Discussunsafe
Jyotiprakash Mishrablog.jyotiprakash.org·Dec 27, 2023Basic Pointer Programming QuestionsHere are 10 C programming exercises that focus on pointers: Swap using Pointers: Write a program to swap the values of two integers using pointers. Array Manipulation: Create an array of integers and write a program to find the sum and average of t...DiscussC Programmingpointers
Jyotiprakash Mishrablog.jyotiprakash.org·Dec 24, 2023Constant Pointer vs. Pointer to a ConstantLet's explore the differences between a pointer to a constant, a constant pointer, and a constant pointer to a constant in C with detailed code examples: Pointer to a Constant: A pointer to a constant is a pointer that points to a constant value. T...DiscussC Programmingpointers
Sirus SalariProscrappedscript.com·Dec 19, 2023A Basic Guide to Pointers in C ProgrammingIntroduction This article provides a comprehensive guide on pointers in the C programming language. It starts by defining pointers and explaining their importance in C programming, such as efficient memory management and low-level memory manipulatio...Rutika More and 2 others are discussing this3 people are discussing thisDiscuss·4 likes·2.3K readsBit by BitC