I was working on an embedded project for the STM32F446RETX and wanted to test how bad exceptions and virtual function calls really are for embedded development. From everything I'd ever read, these features were supposed to be "bad"—especially in memory-constrained environments. So imagine my surprise when I compiled a simple test program and the resulting... Continue Reading →
One Approximation to Rule them All
I recently had the task to optimize a ray tracing algorithm in hardware on an FPGA and remembered the "Fast Inverse Square Root" - that has been used to accelerate rendering for Quake 3. So I studied the math behind the FISR and found a gigantic world of very precise and fast approximations using logarithms.... Continue Reading →
DIY HiFi Stereo System
It was always a big dream of mine to not only have a stunning stereo system but to design and build it myself. The speakers are finally finished and in this article, I want to show how I built them and how they work internally. I will go over the whole system explaining everything in... Continue Reading →
