Dirty Optimization Secrets (C for Playdate)
Summary
The article shares dirty optimization secrets for programming in C on the Playdate console, aiming to help developers improve performance.
Similar Articles
More dirty coding tricks from game developers (2015)
This article compiles anecdotes from game developers detailing unconventional coding hacks and tricks used to overcome technical challenges and meet deadlines in game development.
Writing Efficient C++ Code
This article discusses techniques for writing efficient C++ code, emphasizing data-oriented design and performance optimization for applications like games and real-time processing.
Trust your compiler: Modern C++
Article comparing old C++ performance tricks with modern compiler capabilities, showing that compilers can now optimize naive code better than hand-tuned hacks. Includes benchmarks on AMD Zen 5 with Clang 21.
Notes from Optimizing CPU-Bound Go Hot Paths
The article discusses performance optimization techniques for CPU-bound Go code, highlighting the limitations of generics and interface abstractions due to lack of inlining, and advocates for code duplication in hot paths. It provides examples from a Brotli port and deep-dive benchmarking.
Premature Optimization is Fun Sometimes
A blog post exploring the optimization of a ring buffer data structure for storing ping timestamps, discussing tagged unions, bitfields, and struct padding to reduce memory footprint.