3 ms·
Even though you'll be outputting LLVM as the intermediate representation, I think you'll still have to think a lot about the design of the internal structures a
by tlack 9y ago
Even though you'll be outputting LLVM as the intermediate representation, I think you'll still have to think a lot about the design of the internal structures and the operation of the "virtual machine" so to speak (although there isn't one in the traditional sense). You'll still need to think about how functions interact, what anonymous functions/lambdas boil down to, etc.
To that end, it may be interesting to study the source of J, Klong, Kona, etc. There are a lot of older papers about representation and performance in APL as well.
- throwaway7645 9y agoGood idea, I started reading Hui's book on J's internals before. Maybe it's time to take another look.