User profile: Cubbi

User info
User name:Cubbi
Name:Sergey Zubkov
Location:Long Island, NY, USA
Website:http://stackoverflow.com/users/273767/cubbi
Bio:First language: PDP-11 assembly
Favorite language: modern C++

Education: Ph.D. in chemistry
Career:
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: http://amzn.to/18QDsFI )

I wrote much of http://cppreference.com and continue to keep it up-to-date (along with its other admins)

I also participate, as an editor, in https://github.com/isocpp/CppCoreGuidelines

I said some things at conferences:
Cppcon 2017 https://youtu.be/HdQ4aOZyuHw (English)
C++Russia 2017 https://youtu.be/DyLwdl_6vmU (Russian)
Cppcon 2016 https://youtu.be/QIiFsqsb9HM (English)

I've been spending a lot of time answering C++ questions on Quora https://www.quora.com/profile/Sergey-Zubkov-1

Opinions are my own and do not represent the position of my employer.
Statistical data
Birthdate:Feb 18, 1976
Gender:Male
Occupation:Finance
Skills:C
C++
Assembly
Scala
History
Joined:
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...