Bjarne Stroustrup - The Essence of C++

  Рет қаралды 1,198,789

The University of Edinburgh

The University of Edinburgh

10 жыл бұрын

Bjarne Stroustrup, creator and developer of C++, delivers his talk entitled, The Essence of C++. Stroustrup has held distinguished posts at Texas A&M University and spent significant time in the Computer Science Departments of Cambridge, Columbia and Princeton.
C++ is the one of the world's most widely used technology languages and it has influenced newer languages such as C# and Java as well as older languages.
Find more information on Bjarne Stroustrup and this lecture: www.ed.ac.uk/schools-departmen...
Recorded on 28 April 2014 at the University of Edinburgh's George Square Lecture Theatre.

Пікірлер: 771
@napat9
@napat9 3 жыл бұрын
7:20 - B. Stroustrup introduction 11:40 - What Stroustrup keeps in mind about C/C++ 16:28 - Timeline history of programming languages 25:00 - Resource management 29:50 - Pointer misuse 31:34 - Resource handles and pointers 34:30 - Error handling and resources 35:25 - Why do we use pointers? 41:10 - Move semantics 43:50 - Garbage collection 47:06 - range: for, auto, and move 49:16 - Class hierarchies 51:58 - OOP/Inheritance 54:10 - Generic Programming: Templates 59:48 - Algorithms 1:01:10 - Function objects and lambdas 1:03:08 - Container algorithms 1:03:42 - C++14 concepts 1:10:32 - "Paradigms" 1:13:56 - C++ challenges 1:15:28 - C++ more information 1:17:00 - Questions and answers
@laohein4699
@laohein4699 3 жыл бұрын
papa bless
@jlmurrel
@jlmurrel 3 жыл бұрын
Thanks, Napat!
@pushpajitbiswas3752
@pushpajitbiswas3752 3 жыл бұрын
Bless you
@themodfather9382
@themodfather9382 3 жыл бұрын
I shouldn't have to look in comments or description for this type of thing
@pushpajitbiswas3752
@pushpajitbiswas3752 3 жыл бұрын
@@themodfather9382 But you just did xd
@vimalk78
@vimalk78 9 жыл бұрын
the essence starts at 7:27
@deusbuda
@deusbuda 9 жыл бұрын
vima78 \o/
@Bastro3000
@Bastro3000 8 жыл бұрын
+vima78 Yeaahhh!!!
@asterwolf805
@asterwolf805 8 жыл бұрын
+vima78 Thanks. :D
@bra5081
@bra5081 8 жыл бұрын
+vima78 Unless you wanna know where the fire extinguishers are, in case of fire :p
@Bastro3000
@Bastro3000 8 жыл бұрын
Brad Haircut LOL
@metalore
@metalore 5 жыл бұрын
When a James Bond villain gives a lecture on programming, I listen.
@II_xD_II
@II_xD_II 4 жыл бұрын
@Man With No Name he said james bond not dragon ball z
@corriedebeer799
@corriedebeer799 3 жыл бұрын
He does have a bit of a Ernst Stavro Blofeld vibe about him
@lambda3925
@lambda3925 Жыл бұрын
​@@corriedebeer799 No, maybe the old Blofeld though.
@bartolo5
@bartolo5 2 жыл бұрын
Been reading a lot of Stroustrup C++ books and I love how crystal clear his explanations are. For every "but how would you...?" that pops up in your head he explains it right away in detail.
@maxwellstrange4572
@maxwellstrange4572 6 жыл бұрын
Such a smart guy, I love that he's concerned with the language being approachable to casual users as well.
@IamusTheFox
@IamusTheFox 5 жыл бұрын
Maxwell Strange look at what language he started with.
@charlyRoot
@charlyRoot 4 жыл бұрын
ahk is approachable. Cpp is very not.
@blatrump
@blatrump 4 жыл бұрын
Ohm, yes, so damn concerned, that he and the C++ committee did not solve this with a more than 20 year head start.
@chastitywhiterose
@chastitywhiterose 3 жыл бұрын
Yeah I like Bjarne and listen to all his talks.
@firewallfighter5598
@firewallfighter5598 3 жыл бұрын
89888889998889888888
@thebudkellyfiles
@thebudkellyfiles 6 жыл бұрын
A modern legend. Every time I struggle to understand C++ I think about him inventing it. Geeeeeeeez....
@julija5949
@julija5949 5 жыл бұрын
Does it help?
@BedroomPianist
@BedroomPianist 5 жыл бұрын
He invented it but don't be fooled, programming languages are an iterative process and C++ has been around for 40 some-odd years.
@markteague8889
@markteague8889 5 жыл бұрын
Bedroom Pianist More like 30 odd years. In a sense, Objective C beat C++ to market since it was beginning to be used commercially while C++ was still just an internal intellectual curiosity at Bell Labs. One could argue that Objective C isn’t really an entirely new language, but more like C with library and pre-processor extensions.
@WouterStudioHD
@WouterStudioHD 3 жыл бұрын
@@markteague8889 Objective-C sucks. It's a mess of weird syntax and it lacks the generic power of C++.
@markteague8889
@markteague8889 3 жыл бұрын
Wouter I know the original syntax was akin to that used by SmallTalk (maybe the first OO language) which employed the message passing paradigm. As I understand it, modern flavors of Objective C support both styles of syntax for invoking methods against objects.
@TopShelfization
@TopShelfization 3 жыл бұрын
I cannot thank this man enough for creating the only language I can comfortably express myself. The only language that comes close (for me) is probably ECMAScript.
@Ram-iz1zp
@Ram-iz1zp 3 жыл бұрын
so this the guy that made my CS classes so difficult. he looks exactly as how I imagined he would look
@123s453e56a6l
@123s453e56a6l 2 жыл бұрын
hahaha you made my day
@doublesushi5990
@doublesushi5990 6 ай бұрын
lmfaoooooo
@greatsea
@greatsea 8 жыл бұрын
I'll just throw this out there. Recently I started learning C++ and some C after having achieved some degree of proficiency in VBA Excel and Python and here is the deal: If you are serious about learning the 'science' of programming, that is programming at the conceptual level, then choose either C or C++ as at least one of the languages you are learning. ((I'm leaving aside for a moment the obvious importance of the functional languages.)) I had always read that Python(and even Java and C#) is easier but I had no reference for this until I started learning C++. Obviously it is not going to be practical for everyone but if you want to be a true student of procedural process then go for C or C++. It flexes your brain way more than the higher level stuff.
@ruskodudesko9679
@ruskodudesko9679 7 жыл бұрын
C++ is high level - if you are not using abstraction then you are most likely still using procedural C techniques - I agree man C++ is not easy, it is very challenging and a huge language with huge libraries, and takes years to master good luck bro! - get into Scott Meyers series it's great!
@WouterStudioHD
@WouterStudioHD 3 жыл бұрын
@Calum Tatum Depends. For performance critical tasks, like realtime audio for example, your example languages are just not fast enough. Also, C# is running on a runtime (CLR) that is written in C++. So what do you recommend for the person writing that runtime? C++ is hard, but it's also a really important language.
@syndromeX
@syndromeX 3 жыл бұрын
If you want procedural programming language, try Pascal..very similar to C
@cobalt2489
@cobalt2489 2 жыл бұрын
@@WouterStudioHD rust go brrrrrr
@azynkron
@azynkron 2 жыл бұрын
Only a genius can make something complex and abstract to sound simple.
@rahulmathew8713
@rahulmathew8713 5 жыл бұрын
The only man who actually understanda c++ 🤣🤣🤣
@jscorpio1987
@jscorpio1987 4 жыл бұрын
If some people would listen to what he has to say and actually take the time to understand his books, not just read, but UNDERSTAND, that wouldn’t be the case. Instead, people just learn C++ at a very basic level as if it’s Python or something, and use every single feature of the language in their projects for no rhyme or reason and then call C++ a horrible language if something goes wrong.
@wolowizardyt
@wolowizardyt 4 жыл бұрын
J T Calmdawn computer scientitst
@jorgebastos2431
@jorgebastos2431 4 жыл бұрын
No doubt he's a genius, but the syntax is horrible.
@madyogi6164
@madyogi6164 4 жыл бұрын
@@jorgebastos2431 The syntax is actually very nice, very 'well defined'. Coder doesn't have much room for 'syntax' mistakes. Compilers catch them. Of course a lot depends from its creators as well... I love the language for classes and possibility to separate interface from implementation... Resource control and the speed of solutions when they e finally ready...
@TheDanielLivingston
@TheDanielLivingston 4 жыл бұрын
SosukeAizenTaisho C++ isn’t “backwards compatible” with C, it’s a *superset* of C. Big difference.
@user-zx5vo3yk6j
@user-zx5vo3yk6j 4 жыл бұрын
I feel he is a gentelman and beside his efforts and talents his sincirity and honesty and simplicity is great. I started learning c++ this year and 7 months now. And within 7 month i read almost 7 reference books and after all i read his book it was very good experience and i think i am better now in designing and thinking than i was and only think helps me to keep forward is the solemn desire to solve one humanities problem and make the life better place for every one.
@panduevank8356
@panduevank8356 6 жыл бұрын
His accent is the best I've ever heard. It's so classy.
@saulocpp
@saulocpp 9 жыл бұрын
Thanks for sharing the lecture!
@the_arung
@the_arung 4 жыл бұрын
His talks are so dense! Packs in a wealth of information and insights that need real dedication to follow.
@hikkenwayans
@hikkenwayans 8 жыл бұрын
EXCELLENT lecture!!!
@seektherapy70
@seektherapy70 5 жыл бұрын
Bjarne Stroustrup needs to speak more often. He is brilliant and very humble. Almost too humble because I have popped into IRC's C++ channel and defended him and his programming language many times. The programmers learning C++ in the channel seem to think they know more about his programming language the man who created it, ugh.... Irritating!
@kennethcarvalho3684
@kennethcarvalho3684 Жыл бұрын
Simply great.. He is such a good confident teacher. This video is a must watch for all programmers.
@kingofcastlechaos
@kingofcastlechaos 4 жыл бұрын
Great video UofE. My favorite quote starts at 07:36, and he nails it. Thank you sir for C++ and everything else!
@dreamhollow
@dreamhollow 11 ай бұрын
I'm glad we are as connected as we are to be able to see this interview even if we are far, far away from Edinburgh.
@eddieoconnor4466
@eddieoconnor4466 4 жыл бұрын
Love how this man can describe / explain things and make sense!
@sebastiaanhols9103
@sebastiaanhols9103 4 жыл бұрын
This is so awesome. Understanding like 10%, but still super interesting to follow.
@cokeforever
@cokeforever 10 ай бұрын
Bjarne is a legend! It is so nice to listen this intelligent man talk about the language that at some point back in time changed my life...
@berajpatel8081
@berajpatel8081 4 жыл бұрын
Thank you .... Morgan Stanley , speaker Bjarne Stroustrup & Dave Robertson @ University of Edinburgh
@mennekamminga600
@mennekamminga600 8 жыл бұрын
inspired me to update my codebase, zero new/delete less lines, hundreds of bugs killed.
@nihkz494
@nihkz494 6 жыл бұрын
Menne Kamminga gg
@gojalsewnath6448
@gojalsewnath6448 7 жыл бұрын
I never new this genius but I understand that he is capable of reading your mail at will and monitor your i/o at the same time. And I really like the way he has programmed his haircut, hair by hair! I don`t know much about programming, but somehow it was just cool to listen to him.
@rturrado
@rturrado 3 жыл бұрын
Example at 47:37: it's a bit weird the use done of Value_type and V. You may think they're same type, values of one and the other are compared directly, yet they are different types.
@ahmadalghooneh2105
@ahmadalghooneh2105 4 жыл бұрын
Love and Respect, I encourage all those who want to learn C++ deeply to read his book 4th edition!
@krischalkhanal2842
@krischalkhanal2842 2 жыл бұрын
Bjarne Stroustrup is such a great guy. He knows programming from heart, every nukes and crannies, he knows.
@TheSchiffReport
@TheSchiffReport 2 жыл бұрын
the man himself talking about C++
@nandanm3826
@nandanm3826 4 жыл бұрын
Good information, thank you for sharing.🙏
@mahfuzulhaquenayeem8561
@mahfuzulhaquenayeem8561 4 жыл бұрын
Thanks a lot for this video. Keep uploading more of such content. Good luck...
@davizitopa7252
@davizitopa7252 4 жыл бұрын
I won't watch any of my teachers or preachers lecturing for more than 20 minutes. This is 1 hour and 40 minutes long and I don't think Dr. Stroustrup is a gifted orator, but I will watch it to the end. The difference is the level of respect, I don't think any other living man deserves quite as much respect from me than Dr. Stroustrup.
@bartolo5
@bartolo5 2 жыл бұрын
Indeed, it's interesting. He even has a monotone voice delivery. What keeps us listening is the level of precision and relevancy with which he delivers all the information.
@richmondaisabor7960
@richmondaisabor7960 5 жыл бұрын
I appreciate Bjarne Stroustrup.
@Elite7555
@Elite7555 3 жыл бұрын
1:22:35 He is completely right about that. Well, partially. Many professors aren't involved in any active software development anymore. One could argue even many professors just don't know any better. We still learned how to do linked lists with nullptr instead of using something sensible like optional. We have never seen the good parts of C++.
@raianmr2843
@raianmr2843 2 жыл бұрын
we weren't even taught linked lists with nullptr lmao our prof still uses NULL
@DjoleNINJA
@DjoleNINJA 2 жыл бұрын
Good material before a sleep session, this story is quite a lullaby.
@postlude1
@postlude1 4 жыл бұрын
I love the way this guy talks
@tahmina23
@tahmina23 6 жыл бұрын
Omg ... watch his first videos "The Design of C++" then watch this. His speaking skills improved DRAMATICALLY! He's awesome.
@kristypolymath1359
@kristypolymath1359 4 жыл бұрын
He probably thought "English is too simple. Why would they teach such a language as a first one, there isn't enough thinking involved" :D
@chastitywhiterose
@chastitywhiterose 3 жыл бұрын
It’s cool that Bjarne Stroustrup uses Cygwin on Windows. I used to use it a lot too. These days I use msys2 because it lets me create programs that don’t require the Cygwin DLL file but it still gives me that Unix environment I got used to from my Ubuntu days.
@g.b.3427
@g.b.3427 4 жыл бұрын
C++ is and will be my favourite programming language forever! This man is my Hero! Longlife to Him!
@MikkoRantalainen
@MikkoRantalainen 2 жыл бұрын
1:34:17 I think the best way forward would be to specify lots of old C++ features as deprecated and automatically generate a warning if deprecated feature is used. That would allow slowly removing parts of C++ that have better alternatives today.
@ahmetkarahan9014
@ahmetkarahan9014 2 жыл бұрын
That's why I learn Rust.
@GregoryLewis
@GregoryLewis 7 жыл бұрын
I'm a Microsoft Certified C++ Programmer. Love the language.
@raulrrojas
@raulrrojas 4 жыл бұрын
We all who understand a little more about computing that "normal" people, know how important C++ is for todays computing. Thank you very much Mr Stroustrup.
@HiAdrian
@HiAdrian 9 жыл бұрын
29:54 _look I'm a java programmer!_ 😊 LOL!
@mariogamer86
@mariogamer86 7 жыл бұрын
This man is a legend and C++ is a great language maybe the most important programming language.
@joestevenson5568
@joestevenson5568 5 жыл бұрын
not to downplay C++, but C is easily more important than C++
@naimcool36
@naimcool36 4 жыл бұрын
@@joestevenson5568 not to downplay c++ is C
@teh_jibbler
@teh_jibbler 6 жыл бұрын
Holy crap, this was a great presentation.
@francisco-muro-a
@francisco-muro-a 7 жыл бұрын
wow, this is unbelievable!! I never thought about sit in from of this eminence sir, can't believe this because he was to me one of the genius of my Turbo C/C++ book, amazing! ohh no matter the fact that I'm sit at home :P
@jamestennant7789
@jamestennant7789 2 жыл бұрын
The internet is amazing!
@TheDavidlloydjones
@TheDavidlloydjones 4 жыл бұрын
Start is at 7:27.. Apparently they don't have any video editors at Edinburgh.
@alirightteller6151
@alirightteller6151 2 жыл бұрын
Thanks for this channel very exquisite
@user-kw9cu
@user-kw9cu 3 жыл бұрын
THE MAN THE MYTH THE LEGEND
@bhanuxhrma
@bhanuxhrma 3 жыл бұрын
Watching it in lockdown!!
@rudyardkipling4517
@rudyardkipling4517 3 жыл бұрын
you can mix and match, university of simplicity here, use your old codebase in a library, dll, etc.. and just call them from new C++ versions if you do not feel like updating the code
@JohnnySkillish
@JohnnySkillish 9 жыл бұрын
Amazing man!
@afterthesmash
@afterthesmash 5 жыл бұрын
7:00 Tell them what you're going to tell them, tell them, tell them what you told them: done to perfection-that shiny trader is going to really enjoy this lecture.
@mohammadawad8323
@mohammadawad8323 3 жыл бұрын
At 49:43, the code for the ranged loop is wrong, it should be for(auto& x : s) x->draw();
@MikkoRantalainen
@MikkoRantalainen 2 жыл бұрын
Some of the other examples were also missing semicolons.
@soppaism
@soppaism 4 жыл бұрын
I can understand those sighs... a most pragmatic guy invents a language that gets used in the most impractical ways.
@tannerbarcelos6880
@tannerbarcelos6880 5 жыл бұрын
C++ is tough. I’m about to head into data structures this fall, which is based on c++ and it’s pretty intimidating but honestly, it’s all doable. I definitely won’t be working in c++ as my career, as I will be going into front end and UX but knowing c++ and how powerful it is, is interesting
@jayant9151
@jayant9151 4 жыл бұрын
follow bisquit channel for c++ magic
@tomgreg2008
@tomgreg2008 9 жыл бұрын
Bjarne starts at 7:30 fyi
@buildingphase9712
@buildingphase9712 6 жыл бұрын
Thank you
@anamica4766
@anamica4766 3 жыл бұрын
some of the comments are so disappointing. Respect the man.
@iAmCodeMonkey
@iAmCodeMonkey 2 жыл бұрын
People these days don't respect the past. Sad to see really.
@jakobullmann7586
@jakobullmann7586 3 жыл бұрын
34:19 What does he mean here? ("There are some behind the scene") How are there pointers behind the scene?
@tianyangren
@tianyangren Жыл бұрын
People's names at 17:00 Assembler: David Wheeler Fortran: John Warner Backus Simula & OOD: Kristen Nygaard C: Dennis Ritchie C++: Bjarne Stroustrup
@James_Bowie
@James_Bowie 3 жыл бұрын
How to introduce a speaker: "Ladies and gentlemen, our guest speaker is X. Please welcome him/her to the stage." Then get off!
@Brandon10101011
@Brandon10101011 7 жыл бұрын
@42:50 is he talking about nulling the pointers such as by nulling them the pointers arent actually referencing anything by the time the function is out of scope or is this some other way? i thought nulling a point led to undefined behavior.
@molomono9795
@molomono9795 7 жыл бұрын
Since C++11 there is a feature called nullptr.
@lolzwoot
@lolzwoot 5 жыл бұрын
at 1:13:08 spoke a the creator of OOP, i couldnt understand the name properly, I tought it was Alan Key who invented it, but apparently Bjarne state otherwhise. I'm very curious to read more about the man he talk about, if anyone can write his name, that would be lovely.
@larsjessen
@larsjessen 5 жыл бұрын
Kristen Nygaard who together with Ole-Johan Dahl invented Simula
@PaulMcQuade
@PaulMcQuade 4 жыл бұрын
Where's the download link to the slides?
@rickyjoebobby1
@rickyjoebobby1 4 жыл бұрын
he's one of the few who can use words like encapsulate and you know he isn't trying to pull a trick
@mikhail5002
@mikhail5002 4 жыл бұрын
So you think when people use words with more than two syllables in them they are trying to trick you?
@tylerminix2028
@tylerminix2028 7 жыл бұрын
C++ is everything you could want it to be; it's a beautiful language.
@markotikvic
@markotikvic 6 жыл бұрын
Tyler Minix "Beautiful" as in "it's what's on the inside that counts," because it's horendeus to look at 😀
@harehudi5117
@harehudi5117 6 жыл бұрын
Frankly you are insane
@chilinouillesdepommesdeter819
@chilinouillesdepommesdeter819 5 жыл бұрын
It's pretty powerful,but also hard to control
@runtimejpp
@runtimejpp 2 жыл бұрын
i love his very subtle sarcasm
@parko1965
@parko1965 7 жыл бұрын
Good listening to the master.
@fhk6209
@fhk6209 7 жыл бұрын
Bug in page 28 of presentation (49min:21sec)!!! Should be x->draw() instead of s->draw(). Agree or disagree?
@MicheleTurchiarelli
@MicheleTurchiarelli 7 жыл бұрын
fh k Agreed. It was a typo
@eugenemartynenko617
@eugenemartynenko617 8 жыл бұрын
If Scottish accent doesn't turn you on, please press this button! It'll save you much time ---> 7:20
@afterthesmash
@afterthesmash 5 жыл бұрын
Long ago, I read a book by Edsger W. Dijkstra and, more or less, I've never had a problem with buffer overflows ever since. I read that book in the late 1980s, and the book was already old news then. Dijkstra's recommendation to error handling was this: if the operation can't legally be done, don't do the operation. No need to create a new control path, you'll be surprised how fast your loop exits the bottom once it's no longer able to do any legal operation. Then at the bottom, you check whether your contract was satisfied, and if not, you return an error condition. I hated exceptions with a passion-and refused to use them-until exception safety was properly formulated (mostly by David Abrahams) in the context of formal RAII. I continue to prefer Dijkstra's model, because it simply forces you to think more clearly, and implement your loops more cleanly. The only drawback is that it's hard to avoid defining a handful of boolean variables, and you can end up checking those variables almost every statement. Supposing C++ had a lazy &&=, the structure looks somewhat like this: bool function () { bool ok = true; ok &&= first_thing(); // function not called unless ok is true ok &&= second_thing(); // function not called unless ok is true return ok; } Mathematically, _every_ operation you attempt has a precondition on whether it can be executed legitimately. But we learned way back in the 1970s-the age of Dennis Ritchie-not to write code like this: for (p = p_begin, s = s_begin; s < s_end; ++s) { if (p < p_end) *p++ = *s; } My God! All those extra loop iterations doing _nothing_ you might execute for no good reason if (p_end-p_begin)
@afterthesmash
@afterthesmash 5 жыл бұрын
Perhaps this is a good time to point out that on KZbin, if you nest the bold and italic syntax in the wrong way, editing a comment, making no change, and saving it again is not idempotent (it keeps wrapping more and more escape characters-incorrectly-with each additional unchanged save). Man, that takes talent. Broke-the-mold talent. Couldn't get i, j, and k into the correct alphabetical order if your life depended upon it talent.
@afterthesmash
@afterthesmash 5 жыл бұрын
Also, I hope people read carefully enough to realize that I was exactly half serious: half serious because this *does* actually work, half not serious, because it only works for a stubborn iconoclast willing to put up with a certain extreme forms of surface ugliness -and stubborn iconoclasts (like Knuth and Bernstein and every second Haskell programmer) have always managed to write software with orders of magnitudes fewer bugs than competitive endeavors from lower down in the iconoclasm pecking order, so it's really not such a special value add.
@xybersurfer
@xybersurfer 4 жыл бұрын
@@afterthesmash the problem with avoiding exceptions, is that you are just manually implementing the error handling mechanism already present in the language. you are also wasting the return value which could be used for something more natural. the big advantage of exceptions to me is that you can abstract them away. this way you are left more with code describing task. this is much cleaner, than code checking for errors, with the actual task buried somewhere inside. i'm sure you could make it work like most things, but it looks like it results in a lot of unnecessary code
@afterthesmash
@afterthesmash 4 жыл бұрын
@@xybersurfer xybersurfer Naturalness only exists in a cultural context. You choose to operate within a software culture with a weirdly enlarged notion of "error". If I tried to sign up on Facebook and I entered my "Allan Stokes" as my preferred username, would the system create me a new account, or would it display an "error" that my username is already taken by some other Allan Stokes of no particular distinction? That counts as an "error" in what sense, precisely? Was it an error that some other Allan Stokes wanted my personal name? Was it an error that I also wanted the same? Was it an error that Facebook did not originally design their social network so that all users were known by a globally unique 128-bit GUID, preventing this kind of land-rush clash for all time? I count _none_ of these things as errors. Not everybody can have everything at the same time in the world we actually live in. Since I'm already a decade or two late boarding the Facebook ark, it's now a hail Mary for me to obtain the simplest rendition of my own name in this sphere. It's for the same reason we send Santa a list, and not just the single item Ferrari Testarossa. Santa might be short on Ferrari's this year, especially in light of the present circumstance in Milan lately. So it's a wise policy to provide Santa with options B through F, as well. Was it an "error" for me to want a Ferrari Testarossa? Or was it merely the first interaction in a distributed algorithm to probe the maximal intersection point between my list of desires and Santa's available merchandise? Likewise, if my algorithm wants 10 GB of DRAM working-space so as to run faster, is it an "error" if my request can not presently be granted by Santa's elves? I don't count that as an error, either. Let's suppose I'm only asking for 256 bytes, and malloc returns NULL. Under those conditions, whatever my subroutine is trying to accomplish is probably not viable. How does the OS know that this is now an error as you see it, because your program design has boxed you into a corner with no recourse but to barf up a White Flag of Surrender message box? The OS does _not_ know this. (Is it a coincidence that "throw" and "barf" are somewhat synonymous? I think not.) What the OS _could_ know for certain is that you just called free on a pointer it can't find on any active allocation list, which is _definitely_ an error. And if your program has just called free on a non-thing (type II error), what confidence do you now have that you haven't previously called free on a thing you intended to continue using (type I error)? Practically NIL. This is now Hunt the Wumpus territory. "It is now pitch dark. If you proceed, you will likely fall into a pit." But this isn't actually defined in the standard as an "error". The standard instead says that free's behaviour is now undefined. And once _any_ function commits undefined behaviour, this condition can not be erased short of exiting the current process (although in theory, attempting to exit your process can now also be undefined)-and now the state of your Unix process tree can potentially also become undefined and it's probably now time to pay homage to CTRL-ALT-DEL. In practice, exit is usually engineered to not depend on much, so it usually won't fail to exit your process, to some number of nines (typically more for BSD with a belt-and-suspenders attitude dating back to the original graybeard; fewer for Linux, which regards too many nines as a type II cultural error that greatly hinders the effective evolution rate). This is the funny thing about error culture in computer science. The unambiguous errors are considered so severe, that the cultural response is "why even contemplate continuing to press forward?" whereas completely foreseeable circumstances-like two people trying to sign up on Facebook with the same username-are reified into the barf loop (aka culturally re-parented into the class of "exceptionable" error events). My personal favourite case study is the Therac-25, a Canadian radiation therapy machine which either killed or badly injured at last six people. It had two beam strengths: regular and lethal (100× beam power). There was a turntable inside to rotate a bullet-proof vest in front of the lethal beam. On striking the bullet-proof target, the lethal beam would kick out some other modality of therapeutic radiation as a byproduct. Patient saved. In Dijkstra's world, you have ONE place in the code which is capable of unleashing lethal beam energy. Under what condition are you not allowed to do this? When the bullet-proof vest has _not_ been rotated into position. Otherwise, the patient experiences an extreme shock and _literally_ runs screaming out of the treatment room (as did a fatally wounded Roy Cox in actual fact). But you see, the software was designed to ensure that the correct turntable position was already activated and properly in place long _before_ subroutine release_the_radioactive_hounds was called upon to do its dirty work. Mechanically, the turntable implemented _three_ separate microswitches to ensure that the software could reliably detect its true position (not just two sets like your microwave oven door). They got carried away with thinking about what the software was trying to _do_ (treat the patient) and forget to think clearly about what the software was trying to _not_ do (kill the patient). There's no excuse on God's green earth for a software culture which accepts _anything_ other than a last conditional statement to check the turntable position (and every _other_ survival-critical precondition, if there were any more) before the ONE line of code capable of unleashing the 100× lethal beam. We were a good 35 years into the software industry before these fatal accidents happened. Dijkstra had completely set this straight already by the 1960s. In ZFS or PostgreSQL-or any other life-critical application (as viewed by the data under storage)-the implementation culture is strongly biased to think first and always about what you simply MUST NOT DO (e.g. create a race condition on flush to disk). Further up the software stack, the culture flips into: call the extremely sophisticated and fast-moving API as best as you can and mostly hope for the best. If a 7'2" Santa Claus with a 30" vertical leap power-blocks your layup attempt, you click you heels through the handy-dandy uncluttered exception mechanism, and return to Kansas, hardly any the wiser, but more or less still alive. Betcha didn't know Santa had that move. Good thing your ruby slippers are maximally topped up on reindeer credits. Only here's the downside: people who live in Kansas begin to develop an extremely muzzy sense of what a true error actually looks like. "Error" becomes a hopelessly muddled class of eventualities where it seems more convenient to click your heels together than to write a robust code block with a clear sense of the hazards it is actually navigating. And then this becomes further reified into what "uncluttered" code ought to properly look like, because we are at the end of the day cultural creatures, who thrive on cultural uniformity
@afterthesmash
@afterthesmash 4 жыл бұрын
@@xybersurfer Long ago I attended a pretentious university (Waterloo, Ontario) where the faculty was determined to teach freshman and sophomores the One True Way, which in that year was the Pascal programming language, with a top-down design methodology. Everyone I knew with any talent was conniving to get an account on any machine with a viable C compiler, while the faculty was conniving to keep access to these machines as limited as possible for the sake of "sparing the children". But no high-integrity system is ever designed top down. You mainly work bottom up at first from your core integrity guarantees. And then once you have a coherent API over your core integrity layer, you work top down, but still not as I was originally instructed. The top-down portion is architected from your test and verification analysis. The best modularity is the maximally testable modularity, and not the modularity that produces the least amount or the cleanest amount of code. In particular, your abstraction boundaries only need to be clean enough, rather than conceptually pristine (pristine when you can swing it, but not at the cost of making the full system less testable). The Linux people thought that ZFS had too many layering violations, and that with the benefit of hindsight and some fundamentally better algorithms deep down, they could kick ZFS to the curb with Btrfs. Actual outcome: Btrfs was removed from Red Hat Enterprise Linux 8 (RHEL) in May 2019. Btrfs team: We know pristine (good), we know clutter (bad). ZFS team: We know core coherence layering (hard, but doable with a clear head), we know testability at scale (hard, but doable with sustained cultural pragmatism). From Rudd-O: "ZFS will actually tell you what went bad in no uncertain terms, and help you fix it. ... btrfs has nothing of the sort. You are forced to stalk the kernel ring buffer if you want to find out about such things." That's a guaranteed fingerprint of a click-your-heels-to-return-to-Kansas design ethos. At which point all you can do is emit a somewhat cryptic message to the OS ring buffer. The original inviolable rationale for why top-down-design as I was once taught in Pascal was going to rule the world is that it's fundamentally based on divide and conquer. And what can possibly defeat divide and conquer? We had hundreds of years-if not _thousands_ of years-of history with this technique in mathematics. And it truly rocks in that domain. Because mathematics-of all human things-most excels at abstraction from messy circumstance. By emulating mathematics to the ultimate extent, so too can software _pretend_ to exist in this austere world. The original ZFS design team at Oracle knew how to design the system around their validation framework, because they were _deeply_ immersed in the world of the shit hitting the fan. Before Matt Ahrens proposed ZFS, a typo in the configuration of the Solaris volume manager caused the system to lose all home directories for 1000 engineers. And that was far from the only domain of extreme suffering. Original design principle: to escape the suffering, the administrator expresses intent, not device mappings. Now I'm circling back to the original problem. When you're muzzy-headed about what constitutes a conceptually coherent error class (because you've lumped sick world & sick dog under "click-your-heels" through the underground exception-return expressway) there's barely any possible way to think clearly about application intent. Oh, but you say "the exception return object can be arbitrarily complex to handle this". And right you would be, only there goes your pristine and uncluttered code base, for sure. And now what have you really gained? Because you are already welded into the exception mindset, you're almost certainly going to try to report the damage on first contact with a 7'2" Santa Claus guarding the post. And you're return an object to encode error 666: denied by Giant Black Goliath in a red deerskin vest. I've actually played around with writing code where I would continue to attempt to do all things the code can legally do _after_ something has already gone fatally wrong (fatally wrong meaning there is no remaining chance to achieve your subroutine's mandatory post-condition) and then reporting back _all_ the resources and actions that proved unsuccessful in the quest to accomplish the assigned task. (There is no possible way to implement this coding strategy that you would not decree to be hopelessly cluttered.) And this is interesting, because when you do get six errors at all once (illegal host name, can not allocate memory, no route to host, private key does not exist) then you're immediately pretty sure you entered double-insert mode in vi and there's an extra "i" character somewhere in your application's configuration file. Suppose you tell a human minion: deliver this yellow envelope to 555 Hurl St, last door on the right at the end of the long yellow hallway on the third floor and then grab me a muffin from the bakery downstairs and your minion comes back to report "no such address" (with no muffin) and doesn't point out that while the hallway on the third floor was long, it was orange instead of yellow and you didn't even check whether there was a bakery down below, because unfortunately the hallway was orange instead of yellow, so you didn't even _think_ about completing the rest of the assigned errand. "And there was no bakery down below" would have you checking your street address first of all. "And there _was_ a bakery down below" would have you checking your floor number first of all (while happily munching your hot muffin as a side bonus). Human contingency is _so_ different than code contingency, and I just think this is wrong-headed all around. But modern computer languages really do tend to compel divide and conquer, and I conceded that it's extremely difficult to enact human contingency in a way that's clean and compatible with this reductionist software engineering ethos. I've seen lots of unnecessarily cluttered code. Almost always because of a woolly conceptual foundation, where you're half in one system of coping and half in another system of coping. But I've gradually evolved to where I almost never count clean expression of preconditions or postconditions (all the way down to the level of individual statements) as active code clutter. My eye now regards such code as a somewhat prolix signature of a job well done, no ruby slippers involved.
@sqweebel1
@sqweebel1 Жыл бұрын
What is the bug he mentions at 38:05?
@riccardomassa7006
@riccardomassa7006 9 ай бұрын
this man is my hero.
@MicrosoftsourceCode
@MicrosoftsourceCode 9 жыл бұрын
***** I would also listen to this video. He will explain why we got so many different kinds of compilers. You could skip to the end where he does a question and answers. I find I can listen to some videos without the sound and learn a lot. I do this when I am washing my cloths or cooking. that's what I call real multi tasking.
@MicrosoftsourceCode
@MicrosoftsourceCode 9 жыл бұрын
***** what the hell are you doing talking to your fucking self? Or is ***** another person as I have long suspected?
@MicrosoftsourceCode
@MicrosoftsourceCode 9 жыл бұрын
***** Sadly you will never make a programmer with your split personally behaviour. You need your all spanked until your proper Bonobo blue black
@MicrosoftsourceCode
@MicrosoftsourceCode 9 жыл бұрын
***** The answer to what dim wits?
@MicrosoftsourceCode
@MicrosoftsourceCode 9 жыл бұрын
***** Well tell your fucking puppeteer to shove you back in his suitcase.
@jistAnothaTuber
@jistAnothaTuber 8 жыл бұрын
MScode ™ "I find I can listen to some videos without the sound and learn a lot." How are you able to listen to a video without sound?
@Minotauro_di_Chieti
@Minotauro_di_Chieti 3 жыл бұрын
Love Christopher Guest, he's the man of thousand faces!!!
@FroL_Onn
@FroL_Onn 2 жыл бұрын
Wow! Concepts and modules should have been finalized before cpp17!!!
@asicdathens
@asicdathens Жыл бұрын
K&R and Stroustrup were my favorite books back in college. Thank you a lot prof Stroustrup .
@ThatDrummerFrank
@ThatDrummerFrank 8 жыл бұрын
What does he mean when he refers to "interfaces" ? Particularly when talking about inheritance
@Cryo2005
@Cryo2005 8 жыл бұрын
+Frank Duffy Probably classes with only pure virtual methods, so abstract classes that emulate the "classical" interfaces other languages use.
@danielegiuliani9767
@danielegiuliani9767 8 жыл бұрын
I think that he spoke about a "class/method/function" that can manipulate the data of other object or anything inside the program. As a car: when you use the engine for accelerate, indeed use directly the engine, you interact with it trough the transmission and the pedals, so an interface is the transmission and the pedals in this case, yes i'm the man of the metaphors O.O
@nO_d3N1AL
@nO_d3N1AL 8 жыл бұрын
Are there any talks where he gives reasons for using C++ over Java (and why it's so much more complex/low level)?
@gherbihicham8506
@gherbihicham8506 8 жыл бұрын
+Sina Madani It's obvious he's not here to promote Java , he's here to talk about C++ . C++ and Java have different design objectives , C++ was mainly used to develop systems applications so it's focused on achieving control over low level operations like memory management ( C++ has pointers and doesn't have a garbage collector) and at the same time be able to abstract away using object orientation . Java however was developed to enforce the object oriented paradigm which has lead to it being one of the most successfull (if not the most successfull ) programming language in the world , Java addresses two of the key challeges of todays programming world : the first is "duplicate code is bad " and the other is "code will always keep changing " those two problems are best solved using the object oriented paradigm in which there is no better language for other than Java . If we are talking about the hardness of learning than yes C++ is harder because it's a hybrid language , sometimes i view it as combination of C and Java but that's just me :p , but both languages can do things easier than the other language can do, which means that both can achieve a deeper level a complexity unreachable by the other language depending on what they are used for .
@Tinfoilpain
@Tinfoilpain 7 жыл бұрын
Also he doesn't like to talk bad about C++ applications like Java.
@ruskodudesko9679
@ruskodudesko9679 7 жыл бұрын
C++ is faster because it is run on the machine - java is run a little different and is why it can run on virtually everything (atm machines, cashier machines, etc.)
@blazinggaming46
@blazinggaming46 7 жыл бұрын
Here is a reason. Use Java (or C# if you are only targetting Windows) when you can. Use C++ only when you really have to.
@troyc333
@troyc333 2 жыл бұрын
brilliance beyond my software engineering skills
@mushishi3994
@mushishi3994 5 ай бұрын
Watching this in 2023 to know the true essence of C++.
@rickpontificates3406
@rickpontificates3406 Жыл бұрын
As a programmer, I'll tell you what really ticks me off about these high level OOP languages.. I'm pretty good at logic and program flow, but my productivity is drastically slowed down by having to remember, or look up, all the INSANE syntax, variable passing, and multiple file dependencies of C++
@earx23
@earx23 Жыл бұрын
It's an amazingly powerful language, but also gives you the opportunity to shoot yourself in the foot at every step on the way. To use it simply and safely, you'll probably start using smart pointers, copying strings instead of referencing.. undoing its performance potential. Still, you can do everything, including shooting yourself in the foot.
@josephscottadams39
@josephscottadams39 5 жыл бұрын
I just watched this entire talk and I honestly can say most of what was said was beyond my understanding. Wanting to learn C++ but it seems too hard?
@stanrogers5613
@stanrogers5613 3 жыл бұрын
It's really not. The problem is, as the man said, that it's been around a long time, and has been, in a way, several _different_ related languages over the years. Keep in mind how very slow and clunky computers were when C++ was introduced - a lot of the original language relied on the programmer to do most of the heavy lifting. That is, you needed to think about the machine almost as much as the problem you were working on. These days, if you use the right parts of C++, you can offload most of the "thinking about the machine" part to the compiler and just concentrate on the problem you're solving. The compiler itself can be a much larger program than was possible in the early days, and it will compile your modern code in seconds or minutes rather than weeks. Most of this talk was about why it's better to use the newer language features when you can rather than the features that were there so that your steam-and-hamster-powered 4MHz processor with maybe a couple of megabytes of memory (huge for the time) wouldn't choke trying to compile it.
@erawanthewise8227
@erawanthewise8227 2 жыл бұрын
All hail Bjarne the creator of our generation!
@ruskodudesko9679
@ruskodudesko9679 7 жыл бұрын
my C++ professor is kicking my ass this semester one thing I recently learned is that a member function of an object can take an object type of itself for example: if I have: class Long and a member function void mult(const Long&) I can go void Long::mult(const Long& L){ number+=L.number; } this line of code really confused me until my professor said "do you have adrivers license?" - I go yeah - he said "so do I but are they the same?" -no "the objects are the same way the are the same thing but have different information in them" I thought that was really cool and a cool way to look at it just thought I would share my experience :P
@scottmichaud
@scottmichaud 4 жыл бұрын
Yup... and "number" can even be private. People tend to think that private members hide data from other objects, but that's not the goal. The goal is to hide members from people who don't know how Long works internally. Two Long objects share the same code, so they assume that the person who wrote them knows how to handle the two of them interacting. It's when you start interacting with other classes, which are probably written by other people at other times, that private starts to say "Eh... but do they *really* know what Long uses that private field (or method) for?"
@illlanoize23
@illlanoize23 4 жыл бұрын
rusko dudesko yeah took me a minute to understand the this pointer and how it can point to private data for any new object created
@brianplum1825
@brianplum1825 4 жыл бұрын
Experienced programmers often write the same code as "this->number += L.number"; it makes it explicit that "number" is a member variable.
@scottmichaud
@scottmichaud 4 жыл бұрын
@@brianplum1825 yeah... then you can search for this and hopefully get all members... but you can't rely upon it... especially if multiple developers.
@timangus
@timangus 3 жыл бұрын
I'm pretty sure I attended this talk.
@JoannaHammond
@JoannaHammond 3 жыл бұрын
I love C++, but at the kernel level a lot of the features cannot be used as they are dependent on supporting libraries which are not available.
@earx23
@earx23 Жыл бұрын
There's a reason why C++ was never accepted as the language for Mach or Linux kernels. Most of its power is in its dynamic allocation, and this is unwise in kernel context.
@JoannaHammond
@JoannaHammond Жыл бұрын
@@earx23 It's really fun to try to write a kernel in c++ though :D
@andrewlankford9634
@andrewlankford9634 5 жыл бұрын
The essence of C++ is int & whatsit::whazzat( HUH? ) -> *= ....
@MawaMaverick
@MawaMaverick 5 жыл бұрын
Here from IvanOnTech's course
@Quadromodo
@Quadromodo 9 жыл бұрын
I have a degree in computer science with games programming, I'm leaving this lecture at 46 mins in cos I need a beer and my brain is sludge!
@youugotssponged
@youugotssponged 9 жыл бұрын
Haha, legendary Bjarne "First of all, i dont go round killing people"
@jlmurrel
@jlmurrel 3 жыл бұрын
What did he mean by this comment?
@dynamo58
@dynamo58 3 жыл бұрын
К6🕺🕺🕺😞🕺🕺🗨️🕺🕺🕺😞🕺🕺🕺🕺🗨️🕺🕺🕺😞🕺😞🕺🕺🕺😞🕺😞🕺🕺🕺🕺😞😞🕺🤔🤣🤣😒🤣🤣🤣🐩🐩🐴🏢🏔️🏣🏔️🏕️🏔️🏔️🏔️🏔️🏕️🏔️🏪🏔️🏕️🏔️🏔️🏕️🏔️🏔️🏕️🏔️🏕️🗾🏔️🏕️🏔️🏕️🗺️🏔️🏕️🏔️🏔️🏔️🏪🏔️🏔️🏔️🏔️🏔️🏔️🏔️🏖️🏔️🏛️🏔️🏣🏖️🍋🍋🍋🍋🍋🍎🍋🍋🍋🐂🍋🍈🍌🍐🥑🍍🍍🥑🍍🍍🍍🍍🥖🍍🍍🍑🍍🍍🍍🥑🍍🍑🍍🍍🥖🍍🍍🥖🍍🍍🍍🍐🍍🍍🥑🍍🍍🍍🍊🍊🍊🐘🍊🍉🍉🍉🐹🍉🦒🍌🍍🍍🥐🍌🍏🍌🍐🍌🥐🍌🍌🌶️🍌🍌🦒🦒🥑🦒😀😀🍐🍋🍋🍐🐹🍐🍐🍐🏛️🍐🍐😛🙂😅🏖️🍋🍋🍋🍋🍋🍎🍎🍋🍌🍋🍋🥑🍎🍋🥑🍋🍋🍋🍋🍋🍋🍋🍋🍊🍋🍋🍋🥑🍋🍋🍊🍋🍋🍋🍋🍋🍊🍋🥑🍋🍋🍉🍋🍋🍋🍋🍋🍋🍋🍎🍋🍋🍋🍋🍋🍊🍋🍋🍋🍋🍋🍎🍋🍋🍎🍋🍋🍋🍋🍋🍋🍋🍋🍋🥑🍋🍋🍋🍋🍉🍋🍋🍋🏣😃😃🌶️😃😃😃😃😛🍍🍍🍍🥖🍍🥓🍍🥖🍍🍍🍍🌏🌏🥞🌏🌏🌏🏢🏔️🏔️🏔️🏪🏢🏔️🏔️🗻🏔️🏪🏔️🏢🏪🏔️🌍🥨🌍🌍🍊🍌🥐🍌🍌🍌🍊🍌🍌🥐🏔️🏔️🎉♦️🏑🏑🎽♣️👗🧤🧤🛍️🧤🧤🧣🧣👘🧤🧤👢🧤🧤👘🧤🧤🕶️🧤👢🧤👔👔👖👖🧣🚫🚻🚺🚺🧢🏁🏁🏁🏁↘️🏁🏁📵🚻🚻🚻🚻🛃🛃🚻O:-):-|O:-)O:-):-|O:-):-|🇦🇸:-(🇧🇯:-(🇦🇲🛅🎌🎌🎌⬅️🚺🚻🚻🚩🚩🚻🚻📵🚻🏳️🏁🚻O:-):-|O:-)8-):-P:-|8-):-|8-):-|8-):O:-|:O:-[:-D:-DB-):-|:-|:-D:-[:-[:-D:-|O:-):-|:-|:-|8-):-|:-(:-(O:-):-|:-|8-):-|O:-)8-):-|O:-):-|O:-):-{:-DO:-):-|O:-)🚻🚻↘️🚻:-P🇧🇪:-P🇦🇲:-)🇧🇪:-P:-P:-|:-|🇦🇸♿♿💎🎩👛🎩🚰🚰🚰🚹🚻➡️⚠️⚠️⚠️↔️↘️⚠️👔👔🎳👔♿👛♿🎓🔇👠👡🧣👡🧣🧤🧤🧤🚻⚠️☢️🔇➡️☣️☣️🔕☣️🎙️🚷📱🎶🎈🏔️🏕️🏔️🏪🏛️🏔️🏪🎉🎉🎃🍞🗺️🥑🍍🍐🍑🍈🐖🍈🦍🦍😚🐒😊🐒😚🐒🤐🐵🐺🐐🐺🐄🐺🐺🦄🐄🐺🐄🐺🦍🍊🐫🐗🌳🍇🍇🍇🐙😶🤭🐬🐬🤧🤭🤭🤤🤭🤭🤧🤭🐵🙄🐵🐵😙😙😏😙😜😙😏😪😙😪😋🐙😘😘😜😜🐗🤧😜😜🦄😜😜😜😜😜😜🦄😆😗🤣🍌🍉🍉🍉🍊🍌🍌🍊🍌🍌➡️🚹♿🚹🔈🚰🚰🏳️🇦🇨🏳️🇦🇨🏳️🏳️🇦🇨🏳️🏳️🏳️🏳️🏳️🏳️🇦🇷🏳️🏳️🏳️🏳️🏳️🏳️🏳️🏳️🏳️🏳️🏳️🏳️🏳️🏳️🏳️🏳️🎌🎌🎌Любимый человек
@madyogi6164
@madyogi6164 2 жыл бұрын
Bjarne was always one of my Gurus. When turned this video, I was wondering If I be able to make any sort of comment to it. Well: 14:16 "Complexity of code should be proportional to the complexity of the task"... What failed during last 20 years and why do we have so many "N Gibabyte Fat" crapware...
@Peterowsky
@Peterowsky 3 жыл бұрын
I can't be the only person that hears 4chan whenever he says Fortran.
@XaymacaJah
@XaymacaJah 2 жыл бұрын
FORTRAN WAS COOL (in college) . I DID GOOD IN IT. fun stuff
@tomhollins9266
@tomhollins9266 4 жыл бұрын
When these vids are made: 1) use two cameras, One for the person, One for the presentation 2) Show person on left or right using only 10% of width of video at the same time the 90% of the screen is showing the presentation 3) make sure when the presenter is POINTING, that one can see what is being pointed at. Looks like we have film students making cuts and don't know what is being said so the cut to the presenter is when the viewer should be seeing what the presenter is talking about. Just something to ponder.
@hyqhyp
@hyqhyp 8 жыл бұрын
The Morgan Stanley guy's biggest achievement in life is getting his managers to switch from C to C++. There is something very sad about that ...
@emmanuelkofyagyapong6382
@emmanuelkofyagyapong6382 7 жыл бұрын
hyqhyp is there any article about it?
@Jezze2
@Jezze2 6 жыл бұрын
Actually, he said he got them to move from Fortran to C and to C++, but still agree with your point...
@aseemawad4294
@aseemawad4294 6 жыл бұрын
Making a large company change their primary programming language is a serious achievement.
@bextract0
@bextract0 5 жыл бұрын
hyqhyp wth.. he invented one of the most commonly used languages of modern time. What are you smoking?
@lincolnsand5127
@lincolnsand5127 4 жыл бұрын
@@bextract0 He's taking about the guy at the beginning. Not Bjarne. You completely misunderstood his very clear comment lol.
@rudolphbennett3988
@rudolphbennett3988 6 жыл бұрын
Excellent
@AlexSmith-fs6ro
@AlexSmith-fs6ro 4 жыл бұрын
His talk starts at 7 20.
@bingozhao8280
@bingozhao8280 4 жыл бұрын
no subtitle ?
@jstevens9724
@jstevens9724 2 жыл бұрын
I've just started messing about with esp32 embedded cpu so I am having to learn a bit of C++. I would only call myself an amature programmer at best. I started out on Python for ease of access, which is nice, but soon hit the performance limitations. So I did the research on lots of other languages to weigh up the pros and cons, they all have them and will be different for different people, and I settled on D. This was an interesting lecture, but it does reinforce the conclusion that C++ really wants to be D, it's just going to take 10++ years to get there. Anyway, I hope I can avoid the pitfalls highlighted by Bjarne.
@earx23
@earx23 Жыл бұрын
Is D still alive? I used it 10 years ago and it was nice, but today I settle for Rust and have more grip on performance.
Bjarne Stroustrup: C++ | Lex Fridman Podcast #48
1:47:13
Lex Fridman
Рет қаралды 1 МЛН
Comparing C to machine language
10:02
Ben Eater
Рет қаралды 4,9 МЛН
LA FINE 😂😂😂 @arnaldomangini
00:26
Giuseppe Barbuto
Рет қаралды 11 МЛН
Kick Awesome
00:58
Russo
Рет қаралды 100 МЛН
They're a tough bunch!! # Superman can't fly # Superman couple # Spider-Man
00:47
Why Isn't Functional Programming the Norm? - Richard Feldman
46:09
(Life) Advice From The Creator of C++
3:18
Honeypot
Рет қаралды 634 М.
31 nooby C++ habits you need to ditch
16:18
mCoding
Рет қаралды 692 М.
The Birth Of Calculus (1986)
24:44
Bent Outta Shape Chess
Рет қаралды 840 М.
Andrew Carnegie Lecture Series - Brian Eno
1:35:33
The University of Edinburgh
Рет қаралды 87 М.
LA FINE 😂😂😂 @arnaldomangini
00:26
Giuseppe Barbuto
Рет қаралды 11 МЛН