|
You are here |
blog.metaobject.com | ||
| | | | |
coredumped.dev
|
|
| | | | | In this post, we are going to take a deep dive into pointer tagging, where metadata is encoded into a word-sized pointer. Doing so allows us to keep a compact representation that can be passed around in machine registers. This is very common in implementing dynamic programming languages, but can really be used anywhere that additional runtime information is needed about a pointer. We will look at a handful of different ways these pointers can be encoded and see how the compiler can optimize them for diff... | |
| | | | |
blog.regehr.org
|
|
| | | | | [AI summary] An author discusses and adjudicates a contest featuring C/C++ code snippets that exploit compiler optimizations on undefined behaviors, resulting in surprising outcomes. | |
| | | | |
www.ralfj.de
|
|
| | | | | This is a cross-post of an article that I wrote for the SIGPLAN blog. "Undefined Behavior" often has a bad reputation. People see it as an excuse compiler writers use to break code, or an ... | |
| | | | |
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... | ||