Passing by value or by reference - What is faster?
Explores the performance differences between passing by value and by reference in C#, focusing on structs, copying costs, and dereferencing overhead.
Explores the performance differences between passing by value and by reference in C#, focusing on structs, copying costs, and dereferencing overhead.
Explores four methods for creating arrays in C#, comparing performance and use cases for new, ArrayPool, GC.AllocateArray, and GC.AllocateUninitializedArray.
Explains the differences between struct, readonly struct, ref struct, and record struct in C#, focusing on usage, limitations, and memory management.
Explores two methods for estimating JSON serialization size in .NET: a 100% accurate LengthOnlyStream and a faster, approximate JsonEstimator.
Explains the differences between loadView and viewDidLoad in UIKit, focusing on memory management and weak vs. strong subviews.
Explains how to calculate the size of a fixed-size array in C++ using the sizeof operator and demonstrates its use in a loop.
Explains memory management in C#, covering the Heap, Stack, and the performance implications of boxing and unboxing operations.
Troubleshooting an out-of-memory error in AzCopy when used within a Packer build for Windows image creation.
Explains how to analyze large JSON files that exceed memory limits using partial JSON parsing techniques in Node.js.
Explains two Swift techniques for capturing 'self' strongly within escaping closures, including explicit 'self' keyword and capture lists.
Explores language design challenges for a new systems programming language, focusing on variable initialization, buffer allocation, and slice operations.
Explains shallow vs deep copy concepts in Go, demonstrating how different data types (int, string, slice, array, map, struct) are copied by default.
Explores the deprecation of finalization in JDK 18, detailing its flaws and the future of resource management in Java.
A video tutorial on implementing in-memory and disk-based caching in a SwiftUI news app using the Task modifier and Actors.
Explains the key differences between passing by value and by reference in JavaScript, covering primitives and objects.
Announcing a new systems programming language with manual memory management, C ABI compatibility, and a focus on a robust standard library.
A guide to using unsafe memory pointers in Swift for low-level memory management and C interoperability.
Explains memory management, the stack, and garbage collection in programming, using examples from C, Go, and Rust.
Explores class unloading in layered Java applications using JPMS and the Layrry API to manage plugin memory and avoid leaks.
Explains the performance benefits of using contiguous memory in Cython for scientific computing and discusses debugging segfaults in low-level code.