Generational disparity in garbage collection
A developer details the challenges of building a Java tracing agent for distributed systems, focusing on asynchronous execution and its impact on garbage collection.
A developer details the challenges of building a Java tracing agent for distributed systems, focusing on asynchronous execution and its impact on garbage collection.
Explains the 'fixed' keyword in C#, covering its role in unsafe code, how the compiler, JIT, CLR, and GC collaborate, and its use for pinning objects in memory.
Explains how to use the .NET TryStartNoGCRegion API to prevent garbage collection pauses during critical code execution.
Explores the unique memory layout and performance optimizations of the String type within the .NET Common Language Runtime (CLR).
A technical tutorial explaining the fundamentals of pointers in C programming, covering memory addresses, dereferencing, and data representation.
Explains when to use strong vs. weak and optional vs. implicitly unwrapped IBOutlets in Swift/iOS development, with practical rules.
An in-depth exploration of how the .NET Garbage Collector works internally, focusing on its low-level mechanisms and design goals.
Explores solutions for splitting Swift initializer logic into functions while adhering to Swift's initialization safety rules.
An improved implementation of the weak event pattern in C# to prevent memory leaks, focusing on performance and API design.
A tutorial on how to write your own malloc memory allocator in C, explaining core concepts and providing sample code.
Explains why manually removing listeners is error-prone and introduces the ListenerHandle pattern for cleaner, safer event management in object-oriented code.
Analyzes the impact of the .NET Garbage Collector on application latency, explores GC pause detection, and discusses mitigation strategies.
Explores performance optimization techniques from the Roslyn compiler codebase, focusing on minimizing garbage collector work through allocation avoidance and object pooling.
An in-depth exploration of Python's advanced features, quirks, and common pitfalls for experienced developers.
A guide to extending Google Guava caches to overflow to disk, enabling persistence and specific value invalidation not easily achieved with Ehcache.
Explains how memory leaks occur in Java despite automatic garbage collection, with examples from stack implementation and observer patterns.
Explains how to automate removal of NSNotificationCenter and KVO observers in iOS using method swizzling and associated objects to prevent crashes.
Explains a subtle bug in .NET where static reference types can cause unintended data persistence across web requests, with a fix.
A Cython tutorial on creating NumPy arrays from existing C-allocated memory without copying data, using PyArray_SimpleNewFromData.
A guide to analyzing large Java heap dumps using Eclipse Memory Analyzer (MAT) to diagnose OutOfMemoryError issues.