Loading…
This event has ended. View the official site or create your own event → Check it out
This event has ended. Create your own
View analytic
Tuesday, September 22 • 12:30pm - 1:30pm
Effective C++ Implementation of Class Properties

Log in to save this to your schedule and see who's attending!

This session will be a brainstorm, so, possibly, we will invent something even more interesting, and make the result available for the whole C++ society. Join me to work on this important problem.

"Property" is a special sort of class member between field and method. https://en.wikipedia.org/wiki/Property_(programming). Properties are extremely useful while working with a poorly organized legacy codebase, e.g. as a mean to transparently implement setters and getters in initially public classes.

In reality there is no a part in C++ standard for implementation of properties, though there are many ways to implement them using syntax of the language. We will overview these general ways with its pros and cons.

A good implementation is an implementation with a little both memory and performance overhead. At the moment I have a developed solution with memory overhead of one pointer and one indirection for performance, per property; It is better than all the implementations I could find publicly available.We will try to find an implementation as ideal as possible. 



Moderators
avatar for Viktor Korsun

Viktor Korsun

Head of client-side development, Zeptolab
Viktor graduated from Moscow Technical University and Yandex Data Analysis School. | In 2006 - 2008 Viktor worked for Galaktika corpotation, participated in the creation of a 4'th generation OO-programming language. | In 2008 - 2010 Viktor worked for Alta-Soft LLC as a technical architect of a distributed customs database. | Since 2012 Viktor has been working for Zeptolab LLC, creating modern mobile games. At the moment the company is... Read More →

Tuesday September 22, 2015 12:30pm - 1:30pm
McClintock (404) Meydenbauer Center