Today I Learned
Here is where I write about things that I learned about recently, that I think most people probably already know. Inspired by similar initiatives done by Josh Branchaud and Simon Willison!
-
RIP relative addressing in x86-64
Learning about RIP relative addressing in x86-64.
-
Configuring YCM to allow the restrict keyword in header files
Configuring YCM to allow the restrict keyword in C header files.
-
Inspecting LLVM inlining decisions with LLVM logging
Enabling LLVM debug messages to get more visibility into why LLVM is inlining a function.
-
Storage of Compound Literals in C
Attempting to go through the C Working Group documents to find out why compound literals are the way they are.
-
Experimenting with AMD64 Alignment Checks
Turning on the alignment check flag for my Ryzen 5950x just to see what happens.