1. 11
    1. 2

      Possibly relevant article, that uses C + tail call optimization to implement some of the same optimizations.