Code alignment issues.

even with such a small amount of code things may get incredibly complicated. I’m not saying we all should be experts in the hardware we are coding for, but at least be informed about such issues. Don’t take the first measured value as a final one. Collect profiles and check that you didn’t hit some architectural performance hit. https://dendibakh.github.io/blog/2018/01/18/Code_alignment_issues

January 22, 2018

ROP Emporium

Learn return-oriented programming through a series of challenges designed to teach ROP techniques in isolation, with minimal reverse-engineering and bug-hunting. https://ropemporium.com/index.html

January 8, 2018

Finding a CPU Design Bug in the Xbox360

Random ASCII: programming, tech topics, with a chance of unicyclingFinding a CPU Design Bug in the Xbox 36 The recent reveal of Meltdown and Spectre reminded me of the time I found a related design bug in the Xbox 360 CPU – a newly added instruction whose mere existence was dangerous. https://randomascii.wordpress.com/

January 8, 2018

Elle – C++ core lib based on coroutines

Open source library Elle - C++ core library providing a C++ asynchronous framework, based on coroutines, that comes with a set of modules to easily perform networking, serialization, RPCs, cryptography, distributed consensus and more. http://blog.infinit.sh/elle-our-c-core-library-is-now-open-source/

October 26, 2017

Introduction to C++ Metaprogramming

Interesting introduction to metaprogramming in the context of embedded systems. http://odinthenerd.blogspot.com/2014/07/introduction-to-c-metaprogramming-part-1.html Corresponding C++ library with full static checking and abstractions to special function registers of embedded microcontrollers. http://kvasir.io/