Skip to content

C++ Open Multi Methods and YOMM2

Photo of Rajan Narasimhan
Hosted By
Rajan N.
C++ Open Multi Methods and YOMM2

Details

Jean-Louis Leroy will be talking about Open Multi-Methods and YOMM2. Jean-Louis works for Bloomberg.

Have you ever felt your life would be simpler if you could just add virtual functions to a class hierarchy whenever you needed to (e.g., to persist an object or render it in JSON), but refrained because you did not own the classes and it would violate the principle of separation of concerns? Have you toiled on a Visitor class once again? Did you struggle to get double dispatch right because you needed to implement binary operations for polymorphic classes?

Open methods solve all these problems, while requiring you to write much less code -- and they deliver superior performance.

https://github.com/jll63/yomm2
http://www.stroustrup.com/multimethods.pdf

Pizza and drinks will be available.

Photo of New York C/C++ Meetup group
New York C/C++ Meetup
See more events
Microsoft Research (NYC)
641 6th Avenue, 7th Floor · New York, ny