I learn something new and useful everytime i watch a cppcon video, especially Back to Basics series. Thank you, Mr Stephen Dewhurst for the great talk.
@georganatoly66463 жыл бұрын
hate to admit but I was completely ignorant to , turned out to be an exceptionally informative talk!
@lck52174 жыл бұрын
ДОВЕРЯЙ НО ПРОВЕРЯЙ! GREAT TALK!
@QuintinMassey4 жыл бұрын
Proposed augmentation to the statemen that C++ is getting easier to write: it is getting easier to write more complex C++ cause I still don't understand most of it haha. After this presentation, I learned that I know even less about C++ than before. Great presentation! Thank you.
@YourCRTube4 жыл бұрын
Imagine a newcomer watching this thinking it's "the basics" 😁 Good talk otherwise, though the second part has a strong overlap with last year talk about virtual classes
@shmekelfreckles81576 ай бұрын
Do they actually have “the basics”?
@yjc149 Жыл бұрын
this is an extremly good talk. thanks Stephen!
@rodion9883 жыл бұрын
Thank you Stephen for this lecture, very informative.
@CppCon3 жыл бұрын
Glad it was helpful!
@martinelzen51274 жыл бұрын
This was a cool lecture, I'm glad I watched it and learned some things. The explanation of *why* the using-memcmp-across-data-members is a bad thing, could have been clearer, though. If memory serves the standard does *NOT* allow memory to be touched which hasn't been explicitly initialized, which means if any padding gets added anywhere, you've instantly gone to UB-land...
@poppmeow7586Ай бұрын
it's like going through the book object model within 1 hour. Lots of details to revisit and recap later.
@QaytbayALAtheer3 жыл бұрын
What is object/type level protection mentioned @ 6:20 ?!
@Radioguy004 жыл бұрын
Learned a lot of new things. Very clearly explained. Thanks
@xealitАй бұрын
C++ is indeed terrific to program embedded systems. It just feels like you talk foreign language to those systems. But if you bend and shoehorn it with templates and meta-programming, it is indeed great. Is there a compiler directive to check that a class is standard layout type? I.e. something like override that checks a member does indeed override something. -- ok, use is_standard_layout_v and many static_asserts. Another example how C++ is just foreign to digital hardware.
@zzzXopHeTzzz2 жыл бұрын
A lot of useful information. Thanks!
@CppCon2 жыл бұрын
Glad it was helpful! Thank you.
@KX362 жыл бұрын
After watching this I'm amazed upcasting and downcasting works at all...
@peterevans67522 жыл бұрын
Enjoyed the virtual and vtbl discussions in this talk. I'm uncertain I would call it "basics" but more label it "essentials" for class layout. Just because inheritance and multiple inheritance doesn't seem basic at all.
@konstantinburlachenko28432 жыл бұрын
It is all also relative to c++1998, and I think people who worked with c++ for 3-4 years and read book on the subject. Still it is a nice talk to highlight possible problems, even they are pretty old. To learn layouts for compilers sometimes authors of compilers share technical docs.
@hanyanglee90182 жыл бұрын
Maybe the virtual table is not a good design right from the beginning. Multiple inheritance brings whole lot of mess. If we have some meta programming mechanism in c++, while allow us to copy functions into another class, replace and remove some of them, it should be easier. Then the mess is thrown to how a container stores multiple types, or at least pointers of different types while all the pointers are of the same size.
@riderwang97704 жыл бұрын
Stephen is always the best
@tourdesource Жыл бұрын
I was despairing about having to memorize what constitutes a standard layout class. Deeply grateful for std::is_standard_layout. Does it always work?
@ggodool3 жыл бұрын
Great talk!
@alek2823 жыл бұрын
I guess embedded people are right not to trust C++ after all Great explanations however