Past Meetup

C++ Open Multi Methods and YOMM2

This Meetup is past

27 people went

Microsoft Research (NYC)

641 6th Avenue 7th Floor · New York, ny

How to find us

Sign in at the lobby security. You will need to show a photo id and name must match registration. Take elevator to the 7th floor. There will be someone at the front desk to guide you to the lecture hall.

Location image of event venue

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.