Kali Baranwalkalibaranwal.hashnode.dev·May 1, 2024C++ Oops: What to Watch Out ForFOR EMPTY CLASS: If properties is not written in code then the output will be 1. It's size is not zero because for the rectification it gives 1 byte to keep track of it. GREEDY ALIGNMENT: A technique used to minimize padding in memory layout for clas...keypoints
Utsav Chindaliautsavchindalia.hashnode.dev·May 10, 2023Key Points to Ownership and Borrow Checking in Rust < Part 2 >Rust is a modern systems programming language that provides powerful memory management features to ensure memory safety without compromising performance. In this blog post, we will explore two key concepts in Rust: ownership and borrow checking. Unde...39 readsRust
Utsav Chindaliautsavchindalia.hashnode.dev·May 1, 2023Key points to get started with Rust < Part 1 >Pros Dangling Pointers Buffer overflow Updating Iterators in a loop Avoiding race condition Cons Type Strictness Edge cases Cyclic DS Compile Time Standard lib has less feature, cargo ftw! Number Data Type Numbers have methods attached ...54 readsRust