Bjarne Stroustrup: C++ | Lex Fridman Podcast #48

Поділитися
Вставка

КОМЕНТАРІ • 1,3 тис.

  • @ExpensivePizza
    @ExpensivePizza 2 роки тому +1682

    It's pretty amazing to think that the software industry is so young that the OG's are still alive today and can be interviewed like this. We've come a very long way in a very short time.

    • @monsterhunter445
      @monsterhunter445 Рік тому +39

      Technically programming goes back further but yeah it's a new industry.

    • @thesuperyou2829
      @thesuperyou2829 Рік тому +10

      what is OGs?

    • @ExpensivePizza
      @ExpensivePizza Рік тому +63

      @@thesuperyou2829 It's a slang term that stands for "Original Gangster"

    • @RyoHazuki1
      @RyoHazuki1 Рік тому +7

      I never thought of it that way, but it's very true and very profound.

    • @ruslanfernandes1266
      @ruslanfernandes1266 Рік тому +2

      I felt the same way when I came across this thumbnail

  • @Wrathos
    @Wrathos 4 роки тому +3046

    The fact that I can watch conversations like these for free, with no spammed ads along the way is absolutely amazing.
    Keep up the brilliant work Lex!

    • @colingeorgejenkins9418
      @colingeorgejenkins9418 4 роки тому +2

      Do you think will any of them consider Maria von france

    • @romakrigin8178
      @romakrigin8178 4 роки тому +17

      Dude, install ad blocker.

    • @hexploit2736
      @hexploit2736 4 роки тому +8

      Its not for free, his getting viewer base and thats more valuable than few cents out od advertise. Don't be fooled.

    • @ToastyWaffle456
      @ToastyWaffle456 3 роки тому +20

      Adblock is not magic. You deny the content creator money for their work that you don't even have to pay for.

    • @klarnorbert
      @klarnorbert 3 роки тому +3

      Ever heard of adblockers?

  • @Mortum_Rex
    @Mortum_Rex 4 роки тому +1419

    This reminds me of Neo talking to The Architect in The Matrix.

    • @superitgel1
      @superitgel1 3 роки тому +10

      Kekeke

    • @Robert_McGarry_Poems
      @Robert_McGarry_Poems 3 роки тому +32

      Yes, but which iteration?

    • @0dyss3us51
      @0dyss3us51 3 роки тому +5

      Indeed it was lol

    • @sherylacree9608
      @sherylacree9608 3 роки тому +1

      @@Robert_McGarry_Poems o j nii8 ki ok. Ino Koo kkjkii ki ok look j in in kkjkii kkk injn ki kkk non in k jnko. I see jkkkiiion kkk in kkk jj ki kkk kiiinni kkk ki kkkkjk bkk kkkkkkkkkkkkj kkk I. K nj kkk kkk kkk k kkk in o j kkk ki kkk ki kkk ki kkk k kkk kkk ki ino kkk kkk k I Koo kkk kkki kkk oin j kkk in ok look I kkkkjk ini8 kkk ki ik8 ok ok kkk kkkkkkkkkkkkj jkiiii ii know kkk bkk ikkki I ki in o kkk kknk ki I look no ki ok kkk kkki kkk kkk kkk kkk ki kkk i kkk nkkjojkn in kkk nj kkk ki kkk kkk ki kkk k kikkoman I nkkkiiiiiki kkk kkkkkkkkkkkkj kkk kkkkkkkkkkkkj kkk konijn ok in o kkk kkki n ok k kkk ki kkk kkk Koo kkk ki kkkkjk. I ki k look n 8kii kkkkkkkkkkkkj j job j nj k jj ki kkk k job i kkk know ok Koo. Jo okkoo kkk kkk kkk jj n kkk njk j kkk in o kkk ki job ojko kkk nj kkk k kknkkkkkk kkk nj kkk know ki n kkk kkk in ookj kkk k kkk Koo ki okknjo kkk Koo noj Koo kkk jj j kkk kkk Koo k kkk ki. J Kkk kkk kkkik o look kinn kkk bio kkk jj kkk n k k kkk I in i k in i in knonkik kkk kkki k k kkk n kkk kkkkkkkk k jj no kkk I kkkkjk k ki kkk kkkkkkknkkkkkkkkkk kkk k k kkk k in ki ok ok Koo inknkkij ii Koo in k in k I kkk kkk kkk nj in ki I kkk I ki bio kkk iijo. J Jon nj kknk I Koo ok kkk njoni kkk kkk ki Koo. Ok kkk kkk njk I kkkkjk I kkk ki k kkk kkk k kkk I kkk jj kkk onkjn j Koo k inn nj kkk ii k nj. J nj ki okj kkk kkkj nj kknk k Koo k k k k kkk kkki. Jk kkk. Ok no ookkknk k kkk k kkk ok kkk kkk k ink k n nnn. K n. Nn. K k k nok. I. K. Nj. Kkkkkkk k nj nok n k ii o. N n k jj k 8 k Koo ki k jj k. I k jj. I I k. Jk k kkk k jj pjok. Nn kkk k I n. Nkkk k k k k kkk nj ki ok. I I k ki k kkk 8 kkk. Ok k nj k. Ii k I. K. K no n n k kkk kkk. N. K. N ink. N. Ok ii k. N n ok. Ookj. Ok. N. No nj k jnko kkk. I ki k jj n k. K. K ii. N n o ink on k n o nnk n. K. Koo kkk k ii know. K kkk k o kkkkjk k. Jnj. N I n no ok n ok n nnn kkk k nj I ok. K. I k k k k k n n I I. I I n kkk no nj k nkkkkk ok n kkk onnk n ink ok nnk jn nj. N I j. N. J n. N look. Nj in k in all. J. K k n k k. K k I ki kkk k k nok nj ki 8 k jj k k. Kkk k o. I n nj onk k k k k k I kkk kkk jj k k k k kkk ki I j k kkk 8 k k k kkk ki kkk ki kkk n kkk kkk k kkk jj j k kkk nj k kojjn n nnkk no ki. I ii k ok Kno kkk kkkkkk knkkk k k n k k k k jj k k k k kkk k kkk kkk k kkk k nkkjkkkjk ki nj n kkk kkk nj kkk k Koo kkk inn k k k jj k k nj ink. K jj k k jj ki nnk kkk kknk k Koo kkk kkk k kkk k n ki n in on Koo njk. K njk inn Kno kkkkkkkkk kkk nj in ki. N k. J I. Kkk nn nn kkk jj o kkk Koo k kkk kkk kknk n in kkjkii kkk kkk k kkk kkk k kkk kkk kkkik kkk k jj ki k kkk. K kkk kkk jj ki nkkk kkk k k kkkki. K k k nkkjkkkjk no ki kkkkkkk j kkk jj in n kkk kkkkkkkk ki I in in nkkkk kkkkkkkk ki kkkkkkkkkkkkj ki k kkkkjk kkk kkkkkkkkkok k kkk k n kkk ki jj njk jj kkknnknnknnkkkkkkknnnk jj kkk kkkkkkinnkknnkknnkknkkknkkknokknkk k n kjkkkkkjnnnn kkk jj kkk k jj I knjnknkk nnkk k kkkki jk kjkninnkjkniknknnnkinn onknoonj kkkkkkk knjnonjjnkikjjjninijkjnnkknojnk j njjnonoini o jnknnjjonnokno ii jnjkkonnkn k k oki. Knnoji no nnknkji nnknkji ok nkin jknknkknnjnnnkkknkkkno kjjonnkkkji kojnnk jni

    • @Robert_McGarry_Poems
      @Robert_McGarry_Poems 3 роки тому +12

      @@sherylacree9608 You forgot to close the script;

  • @lexfridman
    @lexfridman  4 роки тому +1282

    I really enjoyed this conversation with Bjarne. Here's the outline:
    0:00 - Introduction
    1:40 - First program
    2:18 - Journey to C++
    16:45 - Learning multiple languages
    23:20 - Javascript
    25:08 - Efficiency and reliability in C++
    31:53 - What does good code look like?
    36:45 - Static checkers
    41:16 - Zero-overhead principle in C++
    50:00 - Different implementation of C++
    54:46 - Key features of C++
    1:08:02 - C++ Concepts
    1:18:06 - C++ Standards Process
    1:28:05 - Constructors and destructors
    1:31:52 - Unified theory of programming
    1:38:10 - Machine learning
    1:44:20 - Proudest moment

    • @HasanBasri-vf2kg
      @HasanBasri-vf2kg 4 роки тому +15

      Dear Lex Thanks for your effort and providing this opportunity...

    • @diemaus5842
      @diemaus5842 4 роки тому +6

      Great interview and great questions. Thank you Lex and Bjarne.

    • @waqidj
      @waqidj 4 роки тому +4

      No AI?

    • @djmilen4o
      @djmilen4o 4 роки тому +4

      Thanks for the timeline. It really helps me filter information! Great interview!

    • @GG-ms8ey
      @GG-ms8ey 4 роки тому +4

      Thank you for the timestamps! This helps a lot and saves us so much time.

  • @jshook
    @jshook 2 роки тому +156

    this man wasn't getting what he wanted out of the languages he had at his disposal, so he just said fuck it and created his own language and it became one of the best languages of all time. legend.

    • @yunjiehong4649
      @yunjiehong4649 Рік тому +1

      Cppfront is a legacy.

    • @viisaus7187
      @viisaus7187 Рік тому +4

      except he is too nice of a guy to say the word fuck

    • @yunjiehong4649
      @yunjiehong4649 11 місяців тому +1

      @@viisaus7187eah, but that showed he wouldn’t hesitate to take action when he faced an issue.

    • @olivierbertier5299
      @olivierbertier5299 10 місяців тому

      I got to learn C++ at college. This guy is indeed epic haha

    • @kogaryu5558
      @kogaryu5558 5 місяців тому

      That was good, however, maybe that should have gone to a portable library or synthetic, so you can give those power to another language.

  • @cheesuscheetos4076
    @cheesuscheetos4076 3 роки тому +445

    "These C vs. C++ fights are for people who don't quite understand what's going on."
    Linus Torvalds: *Angry typing of e-mail intensifies*

    • @dko1905
      @dko1905 3 роки тому +19

      @popasmuerf It requires a bit of knowledge to create the most used OS in the world. Linus also uses C because it's simple, C++ can be a real mess to deal with, and for an added bonus C compiles faster.

    • @dko1905
      @dko1905 3 роки тому +5

      @erik masterchef I admit I was wrong, but creating a kernel is still a big job.

    • @NickEnchev
      @NickEnchev 3 роки тому

      So true!

    • @siddharthupadhyay6347
      @siddharthupadhyay6347 3 роки тому +3

      @Mermaids love dickYou are saying “forked” as if Unix’s source code was open source at that time.

    • @ObsessiveClarity
      @ObsessiveClarity 3 роки тому +3

      @Christian Weissmuller Do you disagree that a wider array of ideas can be expressed directly in C++ than in C while maintaining the same performance?

  • @seanfitzgerald4207
    @seanfitzgerald4207 4 роки тому +267

    "By the way, philosophy is important. You can't do good language design without philosophy, because what you are determining is what people can express and how."

    • @McRingil
      @McRingil 4 роки тому +27

      The difference between Bill Nye or Tyson and the real scientist is that he understands the foundations of a field and assumptions made in the process.

    • @caseypdx503
      @caseypdx503 4 роки тому +10

      @@McRingil I assume by "Tyson" you're talking about Neil DeGrasse? If so, I'd say there is another significant layer of separation between Nye and Tyson...
      While they are both public figures, spokespeople, etc...Bill Nye doesn't even have a masters...he has a BS in engineering, while Tyson has an MA and a PHd...
      I think that's worth mentioning.

    • @McRingil
      @McRingil 4 роки тому +1

      @@caseypdx503 Tyson is on theleft side of the comparison here but I don't really remember him specifically going against philosphy.

    • @arthurswanson3285
      @arthurswanson3285 4 роки тому +5

      So why is c++ such a steaming pile of fecal matter?

    • @McRingil
      @McRingil 4 роки тому +30

      @@arthurswanson3285 because you're dumb and can't handle it

  • @JBravo69
    @JBravo69 Рік тому +282

    Since programming has become such a fundamental part of the 21st century perhaps the Swedish Nobel committee should consider a Nobel prize in this category 😊

    • @peterk2735
      @peterk2735 Рік тому +40

      Especially since all of STEM relies on programming these days. In the past, mathematics was what tied it all together, but in the modern world none of it would be possible without programming

    • @itdepends604
      @itdepends604 Рік тому +10

      There's not even a noble prize for math though

    • @ldpenrose
      @ldpenrose Рік тому +14

      Turing Award?

    • @MikkoRantalainen
      @MikkoRantalainen Рік тому +17

      @@itdepends604 Some say that there's no math category in Nobel prizes because a mathematician married the girl that Alfred Nobel fancied after. I guess Alfred was a bit bitter about that and excluded mathematics from the prize.

    • @Pepespizzeria1
      @Pepespizzeria1 Рік тому +3

      Hilarious really as Nobel undoubtedly had to use math for his dynamite

  • @KasparJohannes
    @KasparJohannes 4 роки тому +680

    How about Linus Torvalds
    next?

    • @platin2148
      @platin2148 4 роки тому +41

      We would definitely need a C advocate also on this show.
      I mean when starsoupe makes it then why not Ken Thomson.

    • @90hijacked
      @90hijacked 4 роки тому +18

      @mint CHILL There would be no linux without the GCC, What about stallman next?
      Oh right, we probably won't be hearing much from him either.

    • @nicolareiman9687
      @nicolareiman9687 4 роки тому +6

      @@90hijacked he's probably gonna promote senders for presidency rather than talk about gcc. Stallman is not that technical person even though his background is.

    • @snlagr
      @snlagr 4 роки тому +1

      Let's start a petition for it

    • @Misterz3r0
      @Misterz3r0 4 роки тому +11

      @@platin2148 starsoupe? haha

  • @Laz3rs
    @Laz3rs 2 роки тому +75

    The fact lex was able to have him on is incredible. What this man has done for computer science!!

  • @Morning_Rays
    @Morning_Rays 2 роки тому +5

    C++ is wonderful. Thank you Bjarne and team working on C++.

  • @mika314
    @mika314 Рік тому +19

    Thanks to Bjarne for starting and continuing to work on C++. I have been programming in C++ for 10 hours a day every day for the last 10+ years and I am still in love with it.

    • @gcma1999
      @gcma1999 Рік тому

      What do you work with? Do you write complex code daily or you do more debugging than coding?

    • @mika314
      @mika314 Рік тому +5

      @@gcma1999
      I make games. During the day I work on the server code and at night I work on my own single player game. Of course, debugging takes a lot of time.

  • @nikhilrajbhar
    @nikhilrajbhar Рік тому +13

    I met Bjarne few days after watching this video, it was one the best experiences of my life. He is very humble, i asked him a roadmap to be better c++ programmer, he gave some excellent advice.

    • @anona4682
      @anona4682 Рік тому +7

      Recite his wisdom

    • @hsheikh8000
      @hsheikh8000 Рік тому +1

      Can you share his advice please?

  • @kvasios
    @kvasios 4 роки тому +276

    This podcast is a gift to the humanity

    • @operatoncreation6396
      @operatoncreation6396 2 роки тому +1

      i have glazed chicken wing bits on my elbow, also drunk.. but gonna pass out to this thinking about that time i wrote the best aterm window and setup the best scripts...
      then i formatted and installed windows to play age of empires 2.... =\

    • @operatoncreation6396
      @operatoncreation6396 2 роки тому +1

      linux just had to make games work... nobody nerds out 24/7...

    • @jpsxlr8
      @jpsxlr8 Рік тому +1

      true!

  • @Wituz
    @Wituz Рік тому +18

    Such a humble guy. You can tell he is really interested in the languages and meta-level stuff. It reminds me how business-oriented programming today has become. It's so nice to see a guy like this, with so much love and thought for the craft itself.

  • @nomenec
    @nomenec 3 роки тому +166

    Lex, thank you greatly for interviewing Bjarne Stroustrup! He has been a personal hero of mine for the last twenty years or more. He is not only a supreme engineer but also an adroit consensus builder. That is a rare combination and his consensus building seems to have played a critical role in forging the success of C++. I highly recommend his "The Design and Evolution of C++" to anyone interested in computing history, language design, or even politics. To me, Stroustrup's approach seems to be 1) understand the "customer's" problem and needs 2) assess the shortcomings of existing tools and prior art 3) design simple, pragmatic, correct solutions to fill the gaps and 3) deliver and communicate those solutions with humility. That is an admirable process I aspire to emulate.

    • @johnmachter40
      @johnmachter40 Рік тому +15

      "error: same variable (3) already in use" ;)

  • @leonciofigueiredo
    @leonciofigueiredo 3 роки тому +102

    You should organize a playlist with all the programming language creators. It was brilliant to interview many of them, it’s going to be a reference for many years from now. You’re the bomb

  • @TheSulross
    @TheSulross 4 роки тому +17

    In the early 90s I met Bjarne at a Usenix conference. Presented a problem per C++ and a proposal to address it, that he took an interest in and we corresponded via email for a while about it. Alas, at the time RTTI ended up being the lion share of C++ mindset for new improvements. And the problem I was looking at ended up being addressed by Microsoft with their COM implementation - which made it sort of feasible to have more or less practical runtime loadable modules extendability. But what was cool was that Bjarne is a great guy that is not aloof, but approachable. Lot of flame wars over the decades saying this or that, but in my book, Bjarne is a class act. And he's a giant in the world of computer science and programming languages.

  • @misanthrophex
    @misanthrophex Рік тому +2

    In a hundred years or so, people will watch this interview and be in awe seeing these people that paved the way for the grandeur of humanity.

  • @abdoulayediallo3777
    @abdoulayediallo3777 4 роки тому +176

    Yeah this guy is a Legend. I love C++

  • @javierfernandez6327
    @javierfernandez6327 4 роки тому +66

    The world owes Bjarne in so many ways... thank you Lex!

  • @PaxiKaksi
    @PaxiKaksi 4 роки тому +92

    1:43:47
    Tensorflow is a good example of that.
    You can give all those libraries with Python to AI/Data scientists/Neurophysicist but under it you have a computer scientist/hard-core engineer who made it with *C++*

    • @uncommonsensor
      @uncommonsensor 3 роки тому

      What did he say, I can't quite make it out

    • @thebigboi5357
      @thebigboi5357 3 роки тому +19

      @@uncommonsensor "all of this ai stuff is on top of c++"

    • @uncommonsensor
      @uncommonsensor 3 роки тому

      @@thebigboi5357 thanks

    • @ronaldhofman1726
      @ronaldhofman1726 Рік тому

      nicely put, al the "esy" to use ready made libr and compnents as written in C++, , people have to learn C and C++ and leave the other languages, i hate best effort languages like java and python it;s intermdiate language and needs a VM , comming with with overhead penalty.

    • @the-designer-
      @the-designer- Рік тому

      Don't tell him about torch

  • @tannerbarcelos6880
    @tannerbarcelos6880 4 роки тому +46

    This guy talked about the “turning left of different vehicles” being the spark of inheritance and polymorphism, and now I understand it 😂 it’s safe to say, there’s only one person who can truly teach c++, and that’s the inventor of it lmao. It’s makes sense to define a virtual turn left method and then whatever vehicle off the base class can use it for its form of vehicle at run time. Truly amazing story and explanation. C++ is great.

    • @roronoa_d_law1075
      @roronoa_d_law1075 4 роки тому

      Was c++ the first object oriented language ?

    • @alecpbennett
      @alecpbennett 4 роки тому +11

      @@roronoa_d_law1075 No, that was Simula. He references it a couple times in the discussion. His leap was to make "C with Classes"

    • @devrim-oguz
      @devrim-oguz Рік тому +2

      In class they always teach it like an animal inheriting its features etc. Which didn't make any sense to me at all. Seeing it in the form of a problem is a better way to understand it since you can tell where did this solution originated from.

  • @patriciat1694
    @patriciat1694 Рік тому +17

    I barely ever got a C+ in school , yet as a seventy year old, I have the regular opportunity to listen in to Lex..and now to hear about C++😉

    • @YyNRCyY
      @YyNRCyY Рік тому

      Badass 70yr old!

  • @george480
    @george480 4 роки тому +100

    “Because we can surely do better than we do today” Phrase of a legend.

    • @Bobbel888
      @Bobbel888 Рік тому +1

      strong statement on the base of being already brilliant.

    • @xybersurfer
      @xybersurfer Рік тому +3

      no. this is normal. imagine if he said that we can't do better than we do today

    • @d0nj03
      @d0nj03 2 місяці тому

      Because we can surely do better than C++ and the obsession of creating class hierarchies for everything. Because the assumption that the world is made of objects is fundamentally mistaken, the world is only made of processes, and objects are only illusions created by temporarily repetitive enough processes.

  • @KHANPIN
    @KHANPIN 2 роки тому +6

    There is something so satisfying hearing Bjourne talk about the fundamentals and low level code, as well as OOP. Definitely makes me want to get back into learning about low level code, as well as the concepts of OOP.

  • @jemo_hack
    @jemo_hack 4 роки тому +49

    It’s amazing to here Dr. Stroustrup comment on his thought process of the C++ language. His ease of explaining a complicated subject in such elegance is truly artistic! Lex, amazing execution on you part, thank you for capturing this and sharing it with all of us.

  • @agustinbcu
    @agustinbcu 4 роки тому +33

    C++ opens to me a new world, I', started with version 2 and later the 3. The C++ compiler war was great. Thanks for your contribution.

  • @jphonevids1065
    @jphonevids1065 4 роки тому +39

    this is one of the best interviews i've ever seen, superb. Bjarne is a treasure

  • @k1ngjulien_
    @k1ngjulien_ 4 роки тому +80

    The Pong game he was talking about by Jason Turner was actually written for the C64 not Motorola.
    Here's the video for that: ua-cam.com/video/zBkNBP00wJE/v-deo.html

    • @MarcofAmerica
      @MarcofAmerica 3 роки тому

      Bookmarked

    • @Blendletan
      @Blendletan 3 роки тому +1

      This comment really should be pinned

    • @danoak9371
      @danoak9371 3 роки тому

      Was looking for this link. Thank you!

  • @philipogunbona8602
    @philipogunbona8602 4 роки тому +26

    Lex, thank you very much for bringing the legendary Bjarne to your channel. 🙏.
    The question about comparison between machine learning and C++ is unclear. One can implement machine learning in a variety of languages including C++. Machine learning is a way of building the model that describes a system using extensive data collected from the system while operating. The form the model takes may be different from the usual analytical closed form that one may be used to, but once the model is learned, programming the system is no different from what we have always done. A closed form analytical model is prone to error as much as a model derived from learning from data. The main difference is that we feel comfortable with closed form analytical model because we can name the variables and their interactions in the model. But a model is nothing but an approximation of “truth” about the system under consideration.

  • @SamuelHauptmannvanDam
    @SamuelHauptmannvanDam 4 роки тому +141

    The best thing about Bjarne Stroustrup, is that if you'd imagine a guy, who would have invented C++, he looks like it.

    • @dmoon9037
      @dmoon9037 3 роки тому +10

      Is that called a self-fulfilling recursion of perception?

    • @keenobaerry3195
      @keenobaerry3195 2 роки тому +13

      because the stereotype is based on him

  • @aimantlavielj
    @aimantlavielj Рік тому +12

    What a privilege to be able to see such a legend and listen to his thoughts.. I was just a kid learning programming 20+ years ago - and back then this name was like a name of a god to me and others around me. Mindblowing.

  • @Luxcium
    @Luxcium 11 місяців тому +1

    For each programmer 👨🏼‍💻 who has made some *C++* code available to us *TypeScript developers* hidden behind the JavaScript code in an NodeJS Package Module _( NPM acronym is - _*_Not Perfectly Managed_*_ )_ I will have to say thanks for your work… I am so passionated about high level languages I didn’t choose to go deeper into the C++ journey… Knowing a small subset of C not to die in my journey and like driving an automatic car first and never feeling bad about not driving manual 😅😅😅😅 I am shameless but grateful… Gratitude is encoded in the fabric of Lex Friedman podcasts and I am also grateful for being able to witness this interview…

  • @MilMike
    @MilMike 3 роки тому +420

    for people who work with C++ every day, this interview must be like a interview with god.

    • @kadambachannel
      @kadambachannel 3 роки тому +15

      Last 12 yrs basically, 🙏

    • @piechulla1966
      @piechulla1966 2 роки тому +9

      C++ has always been complicated. And the development goes on and on. Stroustrup does not exactly stand out as a brakeman. The question is how "modern" your code should be. If you run a static code analysis according to the C++ Core Guidelines against a 30 year old code base: 10000 to 20000 warnings are nothing special there. The idea of what good C++ is has changed over time. Because C++ is always evolving, you have to consider how "modern" you can afford to be. And whether it really makes a difference. I don't rewrite proven legacy code just for fun. You don't have that much time. But sure: A tool that checks your code against the C++ Core Guidelines is of course a blessing! I can't imagine doing without such tools anymore.

    • @ijoyner
      @ijoyner 2 роки тому

      Interview with god. That is why C++ has become a cult. Stroustrup is to C++ as L. Ron Hubbard is to Scientology and they are both to good thinking as Hubbard is to Bertrand Russell.

    • @renegadeace1735
      @renegadeace1735 Рік тому +7

      more like an interview with Satan

    • @SOMEONE-eq5bu
      @SOMEONE-eq5bu Рік тому

      @@renegadeace1735 why

  • @chswin
    @chswin Рік тому +14

    I think he enjoyed this. You let him takes his time and didn’t rush him. One of his most fascinating interview. Thank you!

  • @marcsman07
    @marcsman07 4 роки тому +189

    Amazing! Lex has some serious podcast cred with all these big names hes able to get on. Keep it up!

    • @xDMrGarrison
      @xDMrGarrison Рік тому

      ikr xD

    • @billlets5460
      @billlets5460 Рік тому

      Yeah, curious--not really oddly connected if you consider who he is--but the industry/public needs a common community conduit for communication.

  • @jamesanderson6882
    @jamesanderson6882 4 роки тому +26

    I would love to hear a conversation with: Gerald Jay Sussman, Guy L. Steele Jr., Robert Virding and the Knuthinator: Don Knuth! I wrote c++ for 13 years so this was an interesting talk.

  • @MarcosScheeren
    @MarcosScheeren 4 роки тому +93

    Too bad we didn't had the podcast in time for John McCarthy or Dennis Ritchie =/. On the other hand, Lex's work it's being far better than we could expect, every week.

    • @hexa3389
      @hexa3389 3 роки тому +2

      We gotta get Gerald Sussman, Rob Pike, and Ken up here as well.

    • @rahulvig5298
      @rahulvig5298 Рік тому

      @@hexa3389 that would be awesome.

  • @drew4054
    @drew4054 3 роки тому +11

    Awesome podcast. I am studying C++ as my main language in my BA in CS. Loved to hear the history and meet the man behind the curtain. Good stuff Lex.

  • @nojvaz2392
    @nojvaz2392 4 роки тому +15

    i watched the whole conversation. thank you!
    I learned a lot just from from this video.

  • @springford9511
    @springford9511 4 роки тому

    This is GREAT stuff. I have tried to watched Bjarne a few times and it was all beyond me but you brought his ideas out of him in a way that was possible for me to understand. THANKS.

  • @ppalutube
    @ppalutube 4 роки тому +5

    Thanks for bringing in one of the gods of modern programming languages. It was so great to watch even after a very long day!

  • @Kybalion88
    @Kybalion88 4 роки тому +6

    We really appreciate this kind of things, the interview. Thanks Lex for making it possible. So hyped up!! Its a pleassure to hear how Bjarne comunicate computer concepts...

  • @dragonore2009
    @dragonore2009 4 роки тому +10

    This was my favorite episode you did so far, it may not be the most popular by views, but I enjoyed it. Bjarne Stroustrup is such a national treasure, a man we can learn allot from. I enjoy his talks on C++ whenever cpp con happens.

  • @jacquelinecook5613
    @jacquelinecook5613 Рік тому +166

    I have attempted to meditate many times in my life and prior to this CD the only success I've experienced is with live guided meditation. ua-cam.com/users/postUgkxzpa8CIfZcihW4Z0F_ja0QF3W9KIatrsq This is the first CD I've used that cuts through my unmedicated ADHD and enables me to truly relax and experience a quiet and energizing interval. The instructors voice is very soothing and pleasant to listen to. I am easily able to sit successfully through the entire CD, and for quite some time after. I cannot adequately express how tremendously helpful this CD has been on my spiritual journey!! Two thumbs up and 10 stars!

    • @orionbr
      @orionbr 10 місяців тому

      what???? hahaha

  • @tijani3141
    @tijani3141 3 роки тому +2

    Longest video I have ever watched on youtube that I didn't skip around . Thanks Lex. Thanks Bjarne for doing the interview.

  • @nhabib114
    @nhabib114 2 роки тому

    Thank you for these amazing interviews. I began programming in 1983 and was an extremely ordinary programmer until 2001. After that I went back to school. History is most interesting to me. I became very good at C but always struggled with learning C++.

  • @Toumasu
    @Toumasu 3 роки тому +6

    so happy theres a podcast featuring guys like Bjarne. keep it up, Lex

  • @kilocide6242
    @kilocide6242 4 роки тому +68

    I'm only a few minutes in but I just realized I'm watching a podcast where the inventor of c++ is talking about programming in the early SIXTIES. My mind is blow.

  • @lowmax4431
    @lowmax4431 Рік тому

    I'm so happy to have the opportunity of hearing a conversation from someone that started it all. It's not often you get to hear a long form interview from historical figures like him.

  • @markovujanic
    @markovujanic Рік тому

    Thank you Lex for this and many other Interviews, you created library of such a enormous value that will be valued many decades from now.

  • @nickbelanger5225
    @nickbelanger5225 4 роки тому +35

    Wow! I've always been a fuge fan of Bjarne as I use C++ on an almost daily basis as an engineering student, and I love it. This is gonna be good!

  • @nilanjansarkar100
    @nilanjansarkar100 4 роки тому +55

    One of the living legend of Computer Science

  • @isoadvector5819
    @isoadvector5819 4 роки тому +2

    Almost two hours of extremely enriching brain massage - Thank you very much!

  • @astroboy01
    @astroboy01 4 роки тому +1

    Inspiring and honest... not cocky at all and humbling ...
    Thanks !

  • @tigrantadevosyan731
    @tigrantadevosyan731 2 роки тому +6

    The story of the creation of c++ is amazing. Such a humble person created one of the most important programming languages that are used in so many places. For more than 30 years c++ did not have real challengers for certain tasks and even though Stroustrup himself notices that languages like lisp, python, javascript, etc... are great for certain things but sometimes you need that zero-overhead abstraction to write reliable and efficient software. The only real challenger we currently have is rust which proposes really interesting ideas, I guess only time will show how useful of tool rust will become but it seems great that innovation on that front did not stop.

  • @rftulak
    @rftulak 4 роки тому +34

    Those most grateful are those who used to write device drivers in "C" Tell Bjarne THANK YOU!

    • @nullbyte2215
      @nullbyte2215 4 роки тому +2

      rftulak agreed.

    • @YoloMonstaaa
      @YoloMonstaaa 4 роки тому +1

      @@nullbyte2215 Every time you do char* lol

  • @gstkrr8
    @gstkrr8 3 роки тому

    Omg this video must be the most valuable thing you can find in this messy world. Thank You Lex for having the king talking in front of you.

  • @swaminathan_r1
    @swaminathan_r1 10 місяців тому +1

    I am happy that this channel and these interviews are present. Thank you 🙂

  • @domaincontroller
    @domaincontroller Рік тому +5

    05:44 classes used for define type, simula, Nicklaus Wirth 06:19 brief history of programming languages, Fortran (formula translation), portability 08:09 Cobol, business people 08:24 algol, type, scope, not a set of translation phases, syntax, lexical, technical breakthrough 09:27 then simula came along to make that idea more flexible 10:58 for me the key idea, basically I could get my own types, that's the fundamental idea, under the constraints, hardware, environment 13:47 lisp, performance, reliability, deployability, cost of hardware, I don't like things to be too dynamic 15:47 smalltalk, ML, Haskell 16:45 it's good for any professional programmer to know at least five languages 18:09 the important thing that the number is not one 18:53 it's actually good to know machine code, machine architecture, assembler, c++ 20:21 Jason turner, ua-cam.com/video/zBkNBP00wJE/v-deo.html 22:40 machine code and C++ 22:45 functional languages, you can learn a lot, I don't care which, pick Haskell or ML, type notion that's really strict 23:08 you could pick JavaScript, python, ruby, when you build a tool you do not know how it's going to be used 24:13 bitcoin mining 25:07 original story of C++, efficiency, reliability 28:45 security, type, SQL injection 33:12 correct code looks like, c++ core guidelines 36:39 static checkers, sloppiness, great fan of static analysis 38:33 leaks, static analysis, error handler 42:00 tension between efficiency and abstraction, object-oriented programming language, I've never said that 47:15 algorithm, lock free, compiler techniques 50:15 GCC, compilers, single implementations, monoculture, clang 54:07 llvm 54:50 c++ is for people who wants to use the hardware really well and then manage the complexity of doing that through abstraction 55:21 thats looks very much like C, it has loops, variables, pointers, 55:57 after Dennis Ritchie, I'm probably the major contributor to modern C, Brian Kernighan 56:15 this C vs C++ fight are for people who don't quite understand what's going on 56:32 abstraction 59:26 vectors, Fortran ~ 01:01:10 implementation, simula, object-oriented, virtual function 01:09:46 generic component like a sort function

  • @zavarzak
    @zavarzak 4 роки тому +3

    Thank you very much, Lex! Beautiful guests, beautiful podcast!

  • @rajeswarigopal772
    @rajeswarigopal772 2 роки тому +2

    Ian a life long C++ programmer- of course graduated from Fortran & Boland Turbo C++ ! But I have not heard about C++ Builder!!! However it is great to from Einstein of C++. Thanks for the opportunity! Keep doing
    From
    Dr. S. Gopal, India

  • @kazwalker764
    @kazwalker764 4 роки тому +14

    I was surprised that the functional languages got many mentions and that telecom as a use case was brought up quite a bit, but there was no mention of Erlang.
    Either way, this is amazing to listen to.

  • @ginowadakekalam
    @ginowadakekalam 4 роки тому +27

    0:00 - Introduction
    1:40 - First program
    2:18 - Journey to C++
    16:45 - Learning multiple languages
    23:20 - Javascript
    25:08 - Efficiency and reliability in C++
    31:53 - What does good code look like?
    36:45 - Static checkers
    41:16 - Zero-overhead principle in C++
    50:00 - Different implementation of C++
    54:46 - Key features of C++
    1:08:02 - C++ Concepts
    1:18:06 - C++ Standards Process
    1:28:05 - Constructors and destructors
    1:31:52 - Unified theory of programming
    1:38:10 - Machine learning 1:44:20 - Proudest moment

  • @KerryOConnor1
    @KerryOConnor1 4 роки тому +50

    he seems quite pleased by the intelligent questions, it's charming. i've been waiting for the right moment to crack the C++ book on my shelf.. i sense it's time has come

  • @cesar_otoniel
    @cesar_otoniel 3 місяці тому

    1:40 The smile right after the question explains how excited Lex was for this interview.

  • @jd_flick
    @jd_flick 4 роки тому

    amazing, Bjarne is incredible. so glad you interviewed him, Lex!

  • @cacoolkid1
    @cacoolkid1 4 роки тому +180

    Bjourne : 24:00 ""Bitcoin uses as much energy as Switzerland. Mostly used by criminals"!!
    Lex : "Yes". Pretending as though he doesn't deal lin Bitcon!! Lol

    • @Tavernum
      @Tavernum 3 роки тому +43

      Cash is used by all sorts of criminals

    • @Muhammad-sx7wr
      @Muhammad-sx7wr 3 роки тому +18

      That was really an awkward moment.

    • @lotgon911
      @lotgon911 3 роки тому +20

      I am really shocked that so many geniuses do not understand the role of cryptocurrency in economic

    • @alaaawad7180
      @alaaawad7180 3 роки тому +15

      @@lotgon911 they do and that the problem, its the best thing ever happen to the dark market.

    • @RabbitConfirmed
      @RabbitConfirmed 3 роки тому +5

      @@alaaawad7180 It's the best thing that happened to free humans ever, but you're too stupid to understand the opportunity and rich people don't care.
      The biggest criminals are the ones who profit from central banking.

  • @samiehessi8163
    @samiehessi8163 4 роки тому +4

    Those diagrams and crops from wiki/webpages are great too. Thanks for the extra work!

  • @the_arung
    @the_arung 4 роки тому +2

    "There's more to it all than just code, but code is central". You can be proud of your life's work, Bjarne. A big salute to the legend!

  • @ekbastu
    @ekbastu 4 роки тому +60

    Damn u Lex, I was going too sleep after a long day at work.

  • @dispatch3499
    @dispatch3499 Рік тому +10

    Programming:
    Phase 1: Being able to get away from machine code to more abstracted code based on pure mathematics.
    Phase 2: Adding types and scope.
    Phase 3: Inheritance and runtime polymorphism....

  • @edenalmakias817
    @edenalmakias817 4 роки тому +9

    Great interview!
    This guy is really good at speaking and expressing himself.

    • @rdubb77
      @rdubb77 4 роки тому +1

      He's a Professor at TexasA&M and lectures extensively as well. Check out his keynote speeches at each year's CPPConvention.

  • @mexico14000
    @mexico14000 Рік тому +1

    The man who made my CS experience a living hell, but proved useful on the long run.

  • @i.katsantonis1378
    @i.katsantonis1378 3 роки тому

    So interesting and enjoyable, I'm a bit saddened I have finished this podcast. Thank you both!

  • @RoySATX
    @RoySATX 3 роки тому +4

    So much good has come from C++, nearly enough to make up for Twitter but not quite.

  • @user-qy2wf2lt6v
    @user-qy2wf2lt6v 4 роки тому +9

    Mr. Stroustrup! Thank you for you contribution to computer science!

  • @TheNishant1980
    @TheNishant1980 4 роки тому +2

    Lex you are yourself a legend. Please publish an interview of yourself as well someday. Like me, lot many people will be interested to know as to how you are able to pose such intelligent questions to all these legends 😊

  • @w4gap
    @w4gap 5 місяців тому

    One of, if not THE, most significant conversations on software engineering principles and philosophy I've had the pleasure of listening to. Very well done, as relevant today as it was when originally recorded.

  • @Andreas-yy8uk
    @Andreas-yy8uk 2 роки тому +8

    Never written a line of code in my life. Still listened and loved the entire podcast. Thanks to Bjarne and Lex

  • @guillermotomasini
    @guillermotomasini 4 роки тому +21

    I like what he says about simplicity, that applies to everything in engineering.

    • @nishanth6403
      @nishanth6403 2 роки тому

      @pedro gomes I like C++ but ngl this is true lmao

  • @pratik245
    @pratik245 2 роки тому

    'There are things you can regulate but not inspiration'. Bjarne... Simply marvelous insight

  • @frankthefrank641
    @frankthefrank641 3 роки тому

    Thank you Lex for this fascinating conversation with such a brillant mind

  • @nazavode
    @nazavode 4 роки тому +3

    Brilliant interview and brilliant channel, thanks.
    I don't know if it's actually doable but please consider an interview with Ken Thompson!

  • @SachinDolta
    @SachinDolta 4 роки тому +9

    These are getting good and good and good

  • @SHEEPeros
    @SHEEPeros 2 роки тому

    Loving the passion Bjarne is exuding during this interview!

  • @hank-uh1zq
    @hank-uh1zq 3 роки тому

    I love these interviews. You get to understand the human behind the design

  • @AlphaFoxDelta
    @AlphaFoxDelta 4 роки тому +34

    C++ is what has made our modern world possible

    • @platin2148
      @platin2148 4 роки тому +4

      Alpha Delta incorrect remove the two pluses and then it's true.
      C++ help us to make that all to a huge mess and didn't even get it's own basics right e.g OOP.

    • @the-bgrspot6997
      @the-bgrspot6997 4 роки тому +5

      @@platin2148 C++ is not C with classes my dude

    • @platin2148
      @platin2148 4 роки тому +1

      The-BGR Spot man what do you think methods are magic sauce take a look at the assembly.
      Classes are just a bunch of fancy syntactic sugar. And actually the impl that C++ has is quite horrible and very restrictive.
      Not that there are any other languages that did better in implementing the true OOP paradigm which meant immutability was key.
      It is C + Classes and now with Polymorphism because C++ just picks up everything it can find because it doesn't have a goal to be something.
      And still the assertion that without C++ nothing would run is wrong nothing would work today if C doesn't exists the hack we wouldn't even have C++
      because guess what it was based on a c compiler. Your OS you are currently writing this angry message back is also very likely either unix or nt based and so all kernel code is C code not C++ because it is just impossible to get the abi stable with it and that for years (even apple did see that)
      If you want to see how horrible C++ is try to build a compiler with a bit of customization with LLVM.
      Or just look how long clang takes to build.

    • @AlphaFoxDelta
      @AlphaFoxDelta 4 роки тому +2

      @@platin2148 Yikes.

    • @adama7752
      @adama7752 4 роки тому +1

      @@platin2148 This guy gets it. Memory bandwidth is the problem that more OOP can't solve.

  • @jingtao1181
    @jingtao1181 4 роки тому +3

    Thanks Lex, amazing talk as always

  • @tytrdev
    @tytrdev 3 роки тому +2

    I like that he's basically describing rust's ownership semantics when he talks about rules/guidelines coupled with static analysis.

  • @NicolasGryman
    @NicolasGryman Рік тому +2

    Great interview of an OG. I would have loved to have his perspective on Rust which implements all his principles.

  • @nguyenduy-sb4ue
    @nguyenduy-sb4ue 4 роки тому +26

    C++ is the first language i have learnt, i have a love-hate relationship with it. Nonetheless C++ is arguably the most important language that every programmer should learn. Using recent high-level language like Python is good for prototyping but in term of performance, C++ is the king , period

    • @marcsman07
      @marcsman07 4 роки тому +1

      Shiiieeeet. I've been slacking by knowing only java and python

    • @naibaf710
      @naibaf710 4 роки тому +7

      Python is only useful by having libraries written in C++ and C behind it. Numpy for example, but also TensorFlow, PyTorch usw.

    • @marc2377
      @marc2377 4 роки тому +2

      @@naibaf710 Yep, the Python interpreter is itself written in C (and not C++ for historical reasons)

    • @vibovitold
      @vibovitold Рік тому

      Python is over 30 years old, your definition of "recent" seems to be a little broad

  • @dakrontu
    @dakrontu 3 роки тому +15

    I was shocked, on moving into a work environment in which many of my colleagues were grads or post-grads from a university environment, by the discovery that C was revered but C++ was regarded as evil. I had been using C++ for some years, having taught myself how to use it, a step at a time, and found it gave me a better understanding of how C should be written.
    I also noticed how some of the C source I would go through had taken on a structure that was clearly BEGGING to be converted to C++ (which would have shrunk it to half the length, having experimentally recoded tracts of it just to find out) and that such conversion makes the code express its intent much more clearly, freed of awkward housekeeping distractions.
    But what I was up against was that effectively I had joined a clerical order with a different religion, without realising. And the arguments, which led to me being taken aside by a founder of the company and told that I was cavalierly disrespecting everything they had spent years carefully building, were of a religious nature.
    I think this arises (a) because C++ became associated with Microsoft and (b) because early C++ compilers were crap at handling exceptions the way the language was supposed to and (c) in the academic world C is king of the heap. The same happens with text editors, where EMACS has a god-like status, with its shortcomings invisible to those who literally spend their work days living inside it.
    So I very much appreciate what Bjarne has brought to the world. And the work done by Walter Bright in the 90s on Zorland/Zortech/Symantec C++ as the first good fast C++ compilers for the PC, before Symantec switched its efforts towards Java, which I have never got on with.

  • @sarthakbiswas2201
    @sarthakbiswas2201 3 роки тому +1

    Legends have been built on the work of this legend.

  • @erkanen
    @erkanen 2 роки тому

    So much wisdom there. Incredible conversation!

  • @Chiramisudo
    @Chiramisudo 4 роки тому +14

    1:39:53 "Not everyone can become a great artist; but a great artist *can* come from *anywhere*." -- Anton Ego (Ratatouille)

  • @FabianBarajas
    @FabianBarajas 4 роки тому +4

    Stroustrup seems like quite the character. Good sense of humor.

  • @amotorcyclerider3230
    @amotorcyclerider3230 4 роки тому +1

    20 years back, I had communicated with Bjarne Stroustrup with a question on virtual functions, virtual table, pointers. Within a few weeks he responded with a detailed email. I wish I had saved that email. His response helped and vouched to prove my solution was right back then while the client argued it was not. Looking up functions in a virtual table vs direct call. There is always a cost for flexibility. It all depends on the use case (or user story) and the scenario. Anyways, It was a great feeling to be able to directly communicate with the C++ Guru and get a response back with detailed explanation who agreed with my perspective.
    Nowadays, there are not many who knows what is Dynamic Binding and Polymorphism (or even heard about it) while it plays a vital thing in AI.

    • @bloodycrepe
      @bloodycrepe 3 роки тому

      Isn't polymorphism one of the core concepts of OOP? I don't think I've ever met OO programmer who did not hear about it. That statement makes no sense.

  • @christianlee3426
    @christianlee3426 4 роки тому

    Its so inspiring and humbling to see someone super excited and interested in something even after years of mastery.