/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

blog.regehr.org
| | qsantos.fr

[AI summary] This article explains the dangers of undefined behavior in programming languages like C, illustrates how compiler optimizations can lead to unpredictable results, and reviews various static and formal analysis tools used to detect and prevent such issues.
1.5 parsecs

Travel
| |
| | davmac.wordpress.com

A discussion of undefined behaviour and compiler optimisation, particularly in regards to signed integer overflow. C (and C++) compilers are becoming notorious for exploiting the notion of undefined behaviour - the idea that certain things a program might do have no behaviour proscribed by the language standard, and that the compiler can assume the program...
1.4 parsecs

Travel
| |
| | btorpey.github.io

I've recently been dipping my toes in the very deep water that is "undefined behavior" in C and C++, and the more I learn about it, the scarier it ...
2.8 parsecs

Travel
| |
| | gpfault.net

[AI summary] The text provides an in-depth exploration of various x86-64 instruction set architectures, focusing on arithmetic operations (ADD, SUB, MUL, SMUL, DIV, SDIV), logical operations (AND, OR, XOR, NOT), and control flow instructions. It details the implementation of these instructions in the QBX virtual machine, emphasizing how they emulate real x86-64 instructions while managing the flags register and handling different operand sizes (8-bit and 16-bit). The text also discusses the nuances of flag handling, register operations, and macro-based code generation to streamline instruction implementation.
30.9 parsecs

Travel
|