Not-yet-discussed in HotSpot style guide: C++ Lambdas
Andrew Haley
aph-open at littlepinkcloud.com
Sat Aug 14 09:28:34 UTC 2021
https://github.com/openjdk/jdk/blob/master/doc/hotspot-style.md says:
"Undecided Features
This list is incomplete; it serves to explicitly call out some
features that have not yet been discussed. ... Lambdas"
I can't see any reason to forbid Lambdas from a performance point of
view, and they can add to readability and maintainability in C++ for
the same reasons that they do in Java.
I have a job I'm working on (in the AArch64 back end) where Lambdas
would be very useful. How about I give it a try, and I'll produce the
patch for review, as an initial proposal? Then anyone can put in their
2c worth.
--
Andrew Haley (he/him)
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
https://keybase.io/andrewhaley
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671
More information about the guide-dev
mailing list