Comment Comment by valorzard Something I don’t get.Odin doesn’t support closures (a la C++ or Rust)The thing is, I don’t understand why.Odin’s FAQ says it’s because closures require automatic memory management. [0] But if that’s the case, why do languages like C++ and Ada [1] support closures?[0] https://odin-lang.org/docs/faq/#does-odin-have-closures[1] https://learn.adacore.com/courses/advanced-ada/parts/resourc... parent valorzard 1 year ago
Odin doesn’t support closures (a la C++ or Rust)
The thing is, I don’t understand why.
Odin’s FAQ says it’s because closures require automatic memory management. [0] But if that’s the case, why do languages like C++ and Ada [1] support closures?
[0] https://odin-lang.org/docs/faq/#does-odin-have-closures
[1] https://learn.adacore.com/courses/advanced-ada/parts/resourc...