1. 8

  2. 2

    Hm I never heard of “Destination-Driven Code Generation”, but it sounds cool and is apparently used in v8?

    DDCG is a great compromise. It’s good at avoiding most of the redundant data movement and unnecessary control flow, while still fitting nicely within a simple one-pass code generator. That makes it a popular technique for JITs that need to generate passable machine code on tight deadlines.

    1. 2

      If you read Herlihy, you should read massalin too http://web.cecs.pdx.edu/~walpole/class/cs510/papers/06.pdf

      1. 2

        That’s neat! Thanks for the paper.