Painting the memory of other running programs with core
core is a program written by the author that shows the memory of other programs on screen as pixels, so the user can inspect it and draw on it. The author calls it an "esoteric debugger" or a "paint program". Memory is split into pages of 4096 bytes (hardcoded for now), and each page is drawn as a 256x128 rectangle arranged on a Z-order curve[1]. Each bit is one pixel: white for one, black for zero. Bits run in rows and bytes run in columns.
The user can also write on the displayed memory. Some kinds of data form recognizable patterns: ASCII text, because it is a 7-bit encoding with a biased distribution of values, and 64-bit pointers, whose last two bytes are either zero or one. The author describes core as the logical conclusion of blinkenlights and says it is meant to be watched without a fixed goal.
The author tried a program written in continuation passing style[2], following the paper 'CONS should not CONS its arguments, part II: Cheney on the M.T.A.', and a game written in CHICKEN Scheme, where the stack moved like a waterfall. When core is attached to virtual machines or emulators, it can show the memory of a whole operating system.
Read the original citrons.xyzDiscussion
Sources
-
citrons.xyz
Paint in the memory of other programs






