News for hackers. Stuff that matters.
Re:A lambda is not necessarily a closure by kazagistar on Tuesday February 09, 2016 @10:10AM (#11065750)
How about memory size? A pointer to a function is just a single pointer to the called code, while a pointer to a closure has at least 2 pieces of data (pointer to code + closed over data or reference) which seems incompatible.
Re:A lambda is not necessarily a closure by pcwalton on Tuesday February 09, 2016 @12:49PM (#11067146)
Generics are monomorphized, so this isn't an issue.