If optimization and intermediate languages for lazy functional languages are your things, take a look at Types are Calling Conventions by Max Bolingbroke and Simon Peyton Jones.
It is common for compilers to derive the calling convention of a function from its type. Doing so is simple and modular but misses many optimisation opportunities, particularly in lazy, higher-order functional languages with extensive use of currying. We restore the lost opportunities by defining Strict Core, a new intermediate language whose type system makes the missing distinctions: laziness is explicit, and functions take multiple arguments and return multiple results.
Recent comments
3 days 16 hours ago
4 days 13 hours ago
5 days 17 hours ago
5 days 18 hours ago
1 week 3 days ago
1 week 3 days ago
1 week 3 days ago
4 weeks 4 days ago
5 weeks 2 days ago
5 weeks 3 days ago