2 ms·
There are definitly not, they are implemented via invokedynamic. "Implementing Lambda Expressions in Java with Brian Goetz" https://www.youtube.com/watch?v=Un
by pjmlp 2y ago
There are definitly not, they are implemented via invokedynamic.
"Implementing Lambda Expressions in Java with Brian Goetz"
https://www.youtube.com/watch?v=Uns1dm3Laq4 https://www.youtube.com/watch?v=Uns1dm3Laq4
C++ lambdas follow the functor class model, and they also capture the environment, the only difference is that we get to say what we want captured.