Churchill College Annual Computer Science Lecture - Bjarne Stroustrup: C++ Today

Sdílet
Vložit
  • čas přidán 25. 05. 2016
  • Bjarne Stroustrup (G75) developed the C++ programming language after completing his Computer Science PhD at Churchill College, University of Cambridge.
    During a short visit to College on 13 May 2016, Bjarne gave a talk describing what C++ is today (May 2016, C++14) and how it can be used well. He will focus on ISO standard C++ and the way it is developing.
    Bjarne tallks about a few memories of his time at Churchill alongside the C++ story.
    Find out more about Churchill College: www.chu.cam.ac.uk/about
  • Věda a technologie

Komentáře • 85

  • @paulchoudhury2573
    @paulchoudhury2573 Před 6 lety +7

    Great talk by one of the few people in software development I will unconditionally trust.

  • @letoatreides6086
    @letoatreides6086 Před 7 lety +8

    Dear Bjarne, I love C++. Didn't start with it but C then Java. And, sadly, I don't use C++ at work, but the most recent versions of C++ since 2011, they're a marvel to use. I am absolutely in love with C++ 2014 and versions after that one :)

    • @Vekkq
      @Vekkq Před 7 lety +1

      Or you could just pick the real thing, from which many of these new features got derived from: Haskell.

  • @imte13
    @imte13 Před 7 lety +22

    Our father :)) Author of C++, without him, no games of today :D

  • @dannymartin5095
    @dannymartin5095 Před 8 lety +7

    Fantastic man. He demands no sacrifices in simplicity and efficiency and that's truly inspiring.

    • @feastures
      @feastures Před 7 lety

      What do you mean, C++ is not simple at all and has efficiency as the root of evil (see Donald Knuth).

    • @akshayazariah
      @akshayazariah Před 7 lety +1

      Once you learn C, it is easy. Very easy. Or you can learn it the hard way. www.sololearn.com/Play/CPlusPlus/

    • @digimikeh
      @digimikeh Před 7 lety +1

      if you know how to program in C# . isn't too hard too.

  • @ingeborgschmidt-huser9299

    loved it.

  • @dennisschagt
    @dennisschagt Před 8 lety +21

    I guess this is the paper which is mentioned at 13:00 - www.stroustrup.com/resource-model.pdf

    • @FiePelows
      @FiePelows Před 8 lety +1

      Thnx !

    • @TEKRific
      @TEKRific Před 3 lety +1

      4 yrs late to the party but tanks so much for the link. Interesting paper, very clarifying and instructive!

  • @digimikeh
    @digimikeh Před 7 lety +8

    is there any reason to use c++?..
    YES.. it is in everything you look on technology... every machine has a program. and it is highly probable wrote in c++

  • @datpham31415
    @datpham31415 Před 5 lety +1

    what did he mean " no language is perfect" ??

  • @dmaster20ify
    @dmaster20ify Před 7 lety +3

    The man said that they will reach one million lines in the next year. One million line is required for their program!

  • @CharIie83
    @CharIie83 Před 8 lety +1

    I would love a generic pointer-type to methods. So that I can easily make a scheduler with every method that I want to call in the same vector, regardless of what objects method is being pointed to. Maybe I'm missing something, but I cant find this built in anywhere. Im certain it can be done too, as I'm writing accessor functions to make the same thing happen manually. (a pointer to a function, that itself calls a specific method, so I don't have to statically iterate over the multitude of methods that my scheduler might want to call.)
    Am I alone in thinking this would be useful? Maybe there is a different, better solution that I haven't found. Anyways, nice talk =)

    • @brunomanganelli2456
      @brunomanganelli2456 Před 8 lety +3

      have you tried std::function with lambdas?

    • @CharIie83
      @CharIie83 Před 8 lety

      Too complicated basically. I feel like being able to store method calls in a vector shouldnt be this complicated is all im saying. I will look more at your suggestion tho, it seems to be very close to what I'm looking for

    • @MurrayCumming
      @MurrayCumming Před 8 lety

      sigc::slot from libsigc++ can do that.

    • @kwanarchive
      @kwanarchive Před 7 lety

      Not really that complicated. std::vector of std::functions is child's play.

    • @CharIie83
      @CharIie83 Před 7 lety

      I wound up using unique_ptr with shared base access btw. The thing is I need a way to refer to the methods themselves, regardless of what struct/class they belong to

  • @clodgozon3968
    @clodgozon3968 Před 5 lety +2

    3:35 perfect for scaring children.

  • @LeeCoangSee
    @LeeCoangSee Před 7 lety +24

    smartest man alive

  • @DupczacyBawol
    @DupczacyBawol Před 8 lety +10

    This is the man who invented A CLASS - objective data type, used in almost every "beautiful" programming language nowadays :) Thank you Mr. Stroustrup and thank you CZcams.

    • @kubixus
      @kubixus Před 8 lety +25

      He did not. C++ isn't the first objective programming language.

    • @LuisHenrique-wb8pv
      @LuisHenrique-wb8pv Před 7 lety +7

      He isn't, but he still a badass.

    • @Conenion
      @Conenion Před 7 lety +11

      en.wikipedia.org/wiki/Simula already had classes and all that fancy OOP stuff back in 1965(!).

    • @kwanarchive
      @kwanarchive Před 7 lety +4

      Not correct, but classes are overrated.
      The man invented templates and accidentally embedded a separate Turing complete language at compile time. It doesn't cost anyone to have it in there, but the stuff you're able to do with it is beyond compare. It's even better than LISP macros.

    • @ClandestineLodge
      @ClandestineLodge Před 7 lety

      A class is simply a classification (such as a classroom dedicated to a specific topic). People have been classifying, organizing and grouping things for a long time. There are systems such as the Qabalah that are every bit as sophisticated as anything used by modern programming languages. One can find interesting parallels with Object Oriented Programming and Plato's Republic (as just one example)...

  • @mjsanchez2173
    @mjsanchez2173 Před 6 lety +2

    Why does this man whistle when he talks ?

  • @julianacienfuegos2370
    @julianacienfuegos2370 Před 7 lety +5

    I would like to see what this man looked like with hair

    • @hujidzicu
      @hujidzicu Před 7 lety +8

      on his earliest images he looks the same; I think he's born with that hairstyle :D

  • @bolow
    @bolow Před 6 lety +3

    How do pronounce his name?

    • @digusdreamgallery2211
      @digusdreamgallery2211 Před 5 lety +2

      Biyarne-strovv-strup

    • @Knuckler
      @Knuckler Před 5 lety +1

      It's on his FAQ - www.stroustrup.com/bs_faq.html - ctrl-F "pronounce", or scroll down slightly, it's the first question

  • @datpham31415
    @datpham31415 Před 5 lety +2

    any languages can do it !!

  • @LukasanaTK
    @LukasanaTK Před 8 lety +5

    Genius

    • @feastures
      @feastures Před 7 lety +3

      I call C++ insanity.

    • @tombil-certon
      @tombil-certon Před 4 lety

      @@feastures the line between insanity and genius is very blur

  • @QuentinUK
    @QuentinUK Před 8 lety +1

    That is not the stars.

  • @KevinKuruvillaPianoCovers

    Likes : 138 Dislikes : 0 .respect.

    • @feastures
      @feastures Před 7 lety +1

      Simple a case of selection bias (en.wikipedia.org/wiki/Selection_bias), only people that 'love' this horrific programming language will watch.

    • @achmadfathoni3944
      @achmadfathoni3944 Před 7 lety +2

      feastures You are new in c++ , aren't you?

  • @Uni-Coder
    @Uni-Coder Před 8 lety

    Well, really, we should do respect to C&Cpp but their age goes away, new languages and new ideas come to be great and famous.

    • @angistron
      @angistron Před 8 lety +10

      Hahaha, good one.

    • @ITR
      @ITR Před 7 lety +1

      Though I don't think Cpp will go away any time soon (Especially since c++ is still updated), there are some great new languages too.

    • @nicolareiman9687
      @nicolareiman9687 Před 5 lety

      u know nothing about IT industry

  • @dmaster20ify
    @dmaster20ify Před 7 lety +1

    Why is it that new programming languages keep on changing and the need for new programming languages. I mean I thought that I would use a language and make any software that I feel.
    Ok. people are complaining about the ease of making certain softwares with certain languages. Alot of persons complaining that C++ is too hard. I just consider them lazy and not equipped. Like if you use something like Java, the language has pre - built functions that does most of the work for you. I am not a programming expert right now; but I think Java's ability to make code is limited; and a language like C++ can make program. This is my hypothesis. Furthermore Java is fucking slow. Jar games are slow, Java to watch videos and play online Java games load slow and use up memory.

  • @teemoonduty4945
    @teemoonduty4945 Před 8 lety +1

    garbage collection is not enough!

    • @kwanarchive
      @kwanarchive Před 7 lety +1

      Well, no. Herb Sutter himself gave a talk at last year's CppCon about a resource manager he created, which turned out to be a garbage collector. Only it's a C++ garbage collector, so it does more than memory cleanup, and is much better than current garbage collectors.

    • @feastures
      @feastures Před 7 lety

      All we need is C++ to garbage collect itself.

    • @dertechl6628
      @dertechl6628 Před 7 lety

      who needs a GC if there's RAII?

  • @paulfunigga
    @paulfunigga Před 8 lety +4

    shame on bjarne for that sequence example, there's division by zero after his return statement

  • @kasozivincent107
    @kasozivincent107 Před 4 lety

    This dude forgot about belts 😂😂

  • @adrianoldchannel2494
    @adrianoldchannel2494 Před 6 lety +1

    Loll.

  • @dildarsk246
    @dildarsk246 Před 6 lety +2

    5 fucking javascript,python coders found.

  • @sethother8012
    @sethother8012 Před 4 lety +2

    Lamest. Audience. Ever. They don't even laugh at his opening jokes. Poor guy. lol

  • @datpham31415
    @datpham31415 Před 5 lety +1

    bill gates let others develope it !!!

  • @jptbaba
    @jptbaba Před 7 lety +12

    Thanks for creating a horrible language!

    • @Alex-ht1oq
      @Alex-ht1oq Před 7 lety +2

      jptbaba why are you here then ? Just unnecessary.

    • @ITR
      @ITR Před 7 lety +13

      Why do you think c++ is a horrible language? xD

    • @jptbaba
      @jptbaba Před 7 lety +1

      Linus torvalds said so thats why.

    • @ITR
      @ITR Před 7 lety +20

      jptbaba So you blindly follow everything Linus says without looking at his reasons for why? :-P

    • @aldrinaldrin4618
      @aldrinaldrin4618 Před 7 lety +1

      Linus said it... in his kernel's performance perspective.

  • @feastures
    @feastures Před 7 lety +5

    Talking about garbage collection: C++ is a collection of garbage.

    • @thepdg5160
      @thepdg5160 Před 7 lety +11

      feastures What's wrong with you? Why do you hate on C++ and have the desire to spread that hatred?

    • @pseudorealityisreal
      @pseudorealityisreal Před 7 lety +10

      Yeah, he is a troll. C++ is hard, but rewarding. Guess this troll doesn't like hardwork.

    • @socrattt
      @socrattt Před 6 lety +4

      are you bad at programming?

    • @gblargg
      @gblargg Před 3 lety

      Given the requirements, what design do you think would better meet these?