User profile: Cubbi

User info
User name:Cubbi
Name:Sergey Zubkov
Location:Long Island, NY, USA
Bio:First language: PDP-11 assembly
Favorite language: modern C++

Education: Ph.D. in chemistry
1996: scientific software (phys. chemistry)
2000: OS development (hard real-time/military)
2002: scientific research (biochemistry)
2005: real-time C++ (transportation/city infrastructure)
2012: large scale infrastructure C++ (finance)

I taught programming in college and published a couple books (in Russian: )

I wrote much of and continue to keep it up-to-date (along with its other admins)

I also participate, as an editor, in

I said some things at conferences:
Cppcon 2017 (English)
C++Russia 2017 (Russian)
Cppcon 2016 (English)

I've been spending a lot of time answering C++ questions on Quora

Opinions are my own and do not represent the position of my employer.
Statistical data
Birthdate:Feb 18, 1976
Number of posts:4610
Latest posts:

Classes and rules
[quote]for a simple issue it adds as many other sophisticated items as possible[/quote] It actually ...

Returning a local variable from a function
[quote=jonnin]if you run 2 copies of the same function in 2 threads and they both return a static re...

Returning a local variable from a function
[quote=jonnin]you can make the local static and return it safely, but then the function may not (rea...

Classes and rules
[quote]What's or what does & do[/quote] the answer is in the line above: "// lvalue-only assignment ...

How to multiply and add corresponding elements in a vector
[quote=Duthomhas][code] for (auto [x, y, z] : zip( xs, ys, zs )) // foo, won't compile![/code][/quo...