
Defunctionalization in a Functional Language with Ayaz Hafiz
Software Unscripted
The Implications of De-Functionalization
In Rust and C++, there's a very significant restriction in that you cannot have two different lambdas tied to the same variable without heap allocation at least one of them. ROC does not have this restriction just because of how Clazers and ROC are implemented versus how they are implemented in Rust and C ++. And we do let you opt into it if you want to. There is a box type that you can to wrap them up if you want that. It also means things like, and we haven't been able to run benchmarks on this yet, but it certainly seems like we should be competitive if not approximately the same asRust.
00:00
Transcript
Play full episode
Remember Everything You Learn from Podcasts
Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.