MicroQuickJS
Explores MicroQuickJS, a tiny JavaScript engine for embedded systems, as a potential sandbox for running untrusted code with strict resource limits.
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.
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 how to calculate the size of a fixed-size array in C++ using the sizeof operator and demonstrates its use in a loop.
Explores class unloading in layered Java applications using JPMS and the Layrry API to manage plugin memory and avoid leaks.
A talk recap on .NET's Garbage Collector, memory management concepts, hidden allocations, and performance profiling.
A tutorial on how to write your own malloc memory allocator in C, explaining core concepts and providing sample code.
An in-depth exploration of Python's advanced features, quirks, and common pitfalls for experienced developers.
A Cython tutorial on creating NumPy arrays from existing C-allocated memory without copying data, using PyArray_SimpleNewFromData.
Guide to installing and using Compcache on Linux to optimize RAM usage through compression, improving system performance.
A tutorial on using Visual Studio 2008's built-in performance profiling tool to identify and analyze a memory issue in C# code.