C++20: Reaching for the Aims of C++ - Bjarne Stroustrup - CppCon 2021

preview_player
Показать описание
---
Out of necessity C++ has been an evolving language. I outline some early ideals for C++, some techniques for keeping the evolution directed, and show how C++20 comes close to many of those ideals. Specific topics includes type-and-resource safe code, generic programming, modularity, and the elimination of the preprocessor. Naturally, over the years, C++ has acquired many “barnacles” that can become obstacles to developing elegant and efficient code. That has been a recognized problem since the early days of C – Dennis Ritchie and I talked about it – so we must distinguish between what can be done and what should be done. The C++ Core Guidelines is the current best effort in that direction.

---
Bjarne Stroustrup
C++: history, design, use, standardization, future; performance, reliability; software developer education; distributed systems

---

Рекомендации по теме
Комментарии
Автор

Good as always! Each time i watch talk from Bjarne or Herb I receive a huge boost of motivation to continue work with the C++. Thanks a lot!

mtz
Автор

The "compiler is your friend, " he said. I concluded this many years ago, and I still feel that way. Catching bugs in the compiler is much, much better than trying to deal with runtime errors.

georgesealy
Автор

He's such a sweet guy, and a brilliant speaker and writer. When I was just starting out with programming I read the K&R and I felt lost when it came to writing bigger applications until I found PP&P. A brilliant book for somebody learning how to code, it takes you from writing fizz buzz and hello world to showing you how a big, full-scale application might function. The way he gets right down to the level of a beginner, writes with humor and humility... that's a true genius. Thank you Bjarne! You made a lifelong programmer out of me!

aqualili
Автор

Great video. Love C++. Remember when in 2003 colleagues from college where trying to force me to left C++ because will be no work in future in it (they program in C# or Java). Today is 2023 and I have a lot of job offers still.

FlopsPL
Автор

Such a great talk, Bjarne is a phenomenal speaker. Yay CppCon 2021!

StonkeyKong
Автор

Interesting to watch a mastermind talking about some core principles guiding the long journey of improving the C++ language.
This is inspiring for people designing and developing any complex system.

yuzhushen
Автор

My first hello world program was in 1992 in Borland C++ 1.0. I had no idea who Bjarne was at that time, or how much he would influence my life and career. I've since gone through many other languages and am currently doing typescript for a living. Watching this presentation makes me realize how much Bjarne has influenced me and how I'm constantly trying to bring the same concepts to my professional work. Especially separating the allowed from the "good" in the typescript world. I still enjoy my c++ side projects way more, and look forward to my stm32 projects after hours.

jlaustill
Автор

C++ have evolved beyond what people have realized. I often encounters thinking of C++ that still stuck in the old fashioned way. This is particularly prevalent with connotation of C++ with object oriented. This talk has proven that C++ is more than that. Just to name a few, functional programming, generic programming, parallel programming, and now with concepts, co-routines, and networking.

andmefikri
Автор

Very lucid and self-conscious presentation. Listening to Bjarne is always a special experience.

pedromiguelareias
Автор

Yay I am so happy Bjarne will be writing the PPP book 3rd edition. I am so excited. Please release it soon :) I want to learn about meta programming & parsing in the new edition so much. :)

sukivirus
Автор

I met Bjarne back in 1993. He came to my company and we sat together and I showed him the combined methodology we had created that used a bit of Rumbaugh, Bosch, and Jacobsen. Nice man.

josephnoonan
Автор

They invented types because without them it was a mess. Now we have javascript. Great talk, thanks!

vladvesa
Автор

28:42 Tell me about it, A consulting group was hired to convert some ASN.1 data to CSV and did it in python. It took 2 mins to convert 1 file. There were thousands of files a day. It took 2 days to convert 1 day of ASN1 data. I redid it in C and took 10 seconds per file.

colinmaharaj
Автор

Pretty in-depth talk. You can tell he's a Real Programmer™️

NonTwinBrothers
Автор

Bjarne is someone who can always make you think less emotionally and more pragmatically about languages.

He's really seen it all

VivekNa
Автор

Decided to learn C++ in 2005/6 or so. Learned it (bold claim) and became quite fluent in writing own works. Yes, Bjarne made my world quite more interesting. It's 2021 now. I'm glad I know and can handle the code. Still, I have a feeling, I spent last 10 years under the ice. Language evolved!!!
Preproocessor - that's the thing I got stuck as well. Mostly because of OS dependencies. Great to watch the thing. 2 hours pass by like 20 minutes...

0:37 Guru meditation...

madyogi
Автор

Sometimes I wonder why C++ evolves so slow and every modern/popular concept appears in cpp standard much later then in other languages - now I understand what is the idea behind that. Very good talk :)

masarnia_foreva
Автор

I love that he used my birthday as a sample date (41:00).

Fetrovsky
Автор

7:04 compatibility (with C?) is hard
11:41 some of the incompatibilities came from C
13:18 RAII - hmm, remember this word from the Kate's talk on "Stop teaching C"
22:34 general rules for D&E (devt & evolution) of cpp
33:33 'will watch later

35:17 OO, generic, functional programming
37:51 what does dynamic dispatch means?

yash
Автор

Back in 2003, it seemed like everyone I knew at the university wrote in Java, which IMO sucked. However, all my professors still accepted C++98 homework solutions. Thank the heavens!

DardanAirlines
welcome to shbcf.ru