Dew Drop – January 2, 2026 (#4574)
A daily tech link roundup covering AI, programming, development tools, and industry trends for January 2, 2026.
A daily tech link roundup covering AI, programming, development tools, and industry trends for January 2, 2026.
Explores MicroQuickJS, a tiny JavaScript engine for embedded systems, as a potential sandbox for running untrusted code with strict resource limits.
A guide on using [weak self] in Swift Concurrency Tasks to prevent memory leaks, covering weak-strong patterns and best practices.
Debugging a memory exhaustion error in Symfony caused by Doctrine metadata during serialization, with a lightweight serializer solution.
Learn how to use Python's BytesIO efficiently to avoid memory duplication with getbuffer() and getvalue() methods.
The author argues Rust needs a 'defer' keyword for safe resource cleanup, using a detailed FFI memory management example to illustrate the pain points.
Explores a common bug in C arena allocators and presents safer implementation strategies to prevent out-of-bounds writes.
A comprehensive guide to string handling in Rust, covering types, conversions, operations, and performance best practices.
Explains how to use JDK Flight Recorder's new native memory tracking events to monitor off-heap memory usage in Java applications.
Analyzes the performance and memory impact of Java's ArrayList.clear() method, explaining its internal workings and potential memory retention.
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.
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.
A systematic guide to Swift's complex pointer types, explaining their purpose, usage, and the associated memory safety considerations.
A conference talk exploring .NET memory management concepts, the Garbage Collector, hidden allocations, and profiling techniques.
Explains how to use lazy properties in Swift to delay object creation, improve performance, and avoid optionals, with practical code examples.
A talk recap on .NET's Garbage Collector, memory management concepts, hidden allocations, and performance profiling.