|
You are here |
www.ralfj.de | ||
| | | | |
plv.mpi-sws.org
|
|
| | | | | ||
| | | | |
erikmcclure.com
|
|
| | | | | So I'm rewriting my 2D culling kd-tree for my graphics engine, and a strange bug pops up. On release mode, one of the images vanished. Since it didn't happen in debug mode, it was already a heisenbug. A heisenbug is defined as a bug that vanishes when you try to find it. It took me almost a day to trace the bug to the rebalance function. At first I thought the image had simply been removed from a node accidentally, but this wasn't the case. | |
| | | | |
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... | |
| | | | |
goingbacktoelectronic.blogspot.com
|
|
| | | The main problem when debugging the code in ram is that the CPU will have started to execute whatever is in flash before you catch it, incl... | ||