3 ms·
Robert Smith gave a nice presentation involving using the MOP for defining abstract, final and singleton classes. Then he goes down a rabbit hole of user-define
by spacebat 10y ago
Robert Smith gave a nice presentation involving using the MOP for defining abstract, final and singleton classes. Then he goes down a rabbit hole of user-defined JIT compilation:
https://dl.dropboxusercontent.com/u/734346/JIT-Compilation-of-Symbolic-Functions_Robert-Smith.pdf https://dl.dropboxusercontent.com/u/734346/JIT-Compilation-o...
- spacebat 10y agoHe mentions funcallable instances in the talk. Here's a toy example of such a creature: https://gist.github.com/spacebat/a2805737477ab330334edd1361b34dce https://gist.github.com/spacebat/a2805737477ab330334edd1361b...