Search Articles

Search Results: GarbageCollection

Lua 5.5 Debuts With Radical Memory Savings and Enhanced Garbage Collection

Lua 5.5 Debuts With Radical Memory Savings and Enhanced Garbage Collection

The Lua scripting language's first major update in five years introduces groundbreaking memory optimizations—slashing array memory usage by 60%—and revolutionary garbage collection enhancements. These advancements promise significant performance gains for embedded systems and game development environments where Lua thrives.

The Silent Menace of Non-Determinism: How Threads and Garbage Collection Undermine Program Reliability

Non-repeatable behaviors in programming—stemming from threads, garbage collection, and non-deterministic destructors—create elusive bugs that cripple debugging efforts. This deep dive explores why refcounting offers a saner alternative for deterministic destruction, despite industry pressures toward multi-threaded paradigms. Developers face a critical choice: embrace chaos for performance or prioritize reliability for maintainable code.