3 ms·
This is interesting. I came up with a very similar idea in the late 1990s to JIT a lazy functional language. The idea was to only compile the code that you need
by sambeau 2y ago
This is interesting. I came up with a very similar idea in the late 1990s to JIT a lazy functional language. The idea was to only compile the code that you needed to execute next, so you could run lazy code without needing to compile it (recursing across infinite lists, etc). It had templates with holes (for things like cons etc.)
I stuck my paper on it under Prof Phil Wadler's office door and ran away. I have no idea if he ever read it :D