1. 9
  1. 4

    The title is a smidge misleading – debugging the interpreter (finding that it wrongly assumes 32-bit pointers) wasn’t the interesting part at all. The meat of the writeup was figuring out how to effect this change in Arthur Whitney’s C code, which is an impressive feat in my eyes.

    1. 3

      TL;DR a prototype interpreter for j, from ‘89, assumes that pointers are 32-bit, and compiles on modern hardware only if you tell it to think they’re 64-bit.

      1. 2

        Formatted with astyle, it’s a little easier to decipher: http://paste.debian.net/1126234/

        Stories with similar links:

        1. Best practices for array indexing via calvin 2 years ago | 9 points | 1 comment
        2. Blazing fast math rendering on the web via calvin 2 years ago | 10 points | 6 comments