Great talk by one of the few people in software development I will unconditionally trust.
@letoatreides60867 жыл бұрын
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 :)
@Vekkq7 жыл бұрын
Or you could just pick the real thing, from which many of these new features got derived from: Haskell.
@imte137 жыл бұрын
Our father :)) Author of C++, without him, no games of today :D
@ahmadnikidoskaufmann6 жыл бұрын
Tatu Eugen ooohh
@zsaklinhorvath85485 жыл бұрын
ahmad nikidos
@Dasdasd08 жыл бұрын
Fantastic man. He demands no sacrifices in simplicity and efficiency and that's truly inspiring.
@feastures7 жыл бұрын
What do you mean, C++ is not simple at all and has efficiency as the root of evil (see Donald Knuth).
@akshayazariah7 жыл бұрын
Once you learn C, it is easy. Very easy. Or you can learn it the hard way. www.sololearn.com/Play/CPlusPlus/
@digimikeh7 жыл бұрын
if you know how to program in C# . isn't too hard too.
@dennisschagt8 жыл бұрын
I guess this is the paper which is mentioned at 13:00 - www.stroustrup.com/resource-model.pdf
@FiePelows8 жыл бұрын
Thnx !
@TEKRific4 жыл бұрын
4 yrs late to the party but tanks so much for the link. Interesting paper, very clarifying and instructive!
@digimikeh7 жыл бұрын
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++
@dmaster20ify7 жыл бұрын
The man said that they will reach one million lines in the next year. One million line is required for their program!
@julianacienfuegos23708 жыл бұрын
I would like to see what this man looked like with hair
@hujidzicu8 жыл бұрын
on his earliest images he looks the same; I think he's born with that hairstyle :D
@CharIie838 жыл бұрын
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 =)
@brunomanganelli24568 жыл бұрын
have you tried std::function with lambdas?
@CharIie838 жыл бұрын
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
@MurrayCumming8 жыл бұрын
sigc::slot from libsigc++ can do that.
@kwanarchive7 жыл бұрын
Not really that complicated. std::vector of std::functions is child's play.
@CharIie837 жыл бұрын
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
@ingeborgschmidt-huser92998 жыл бұрын
loved it.
@LeeCoangSee8 жыл бұрын
smartest man alive
@zeuglcockatrice46337 жыл бұрын
not for long
@DupczacyBawol8 жыл бұрын
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 KZbin.
@kubixus8 жыл бұрын
He did not. C++ isn't the first objective programming language.
@LuisHenrique-wb8pv8 жыл бұрын
He isn't, but he still a badass.
@Conenion8 жыл бұрын
en.wikipedia.org/wiki/Simula already had classes and all that fancy OOP stuff back in 1965(!).
@kwanarchive7 жыл бұрын
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.
@ClandestineLodge7 жыл бұрын
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)...
@datpham314156 жыл бұрын
what did he mean " no language is perfect" ??
@clodgozon39685 жыл бұрын
3:35 perfect for scaring children.
@bolow7 жыл бұрын
How do pronounce his name?
@digusdreamgallery22116 жыл бұрын
Biyarne-strovv-strup
@Knuckler5 жыл бұрын
It's on his FAQ - www.stroustrup.com/bs_faq.html - ctrl-F "pronounce", or scroll down slightly, it's the first question
@mjsanchez21736 жыл бұрын
Why does this man whistle when he talks ?
@isukanne68856 жыл бұрын
MJ Sanchez Sound is bad
@datpham314156 жыл бұрын
any languages can do it !!
@LukasanaTK8 жыл бұрын
Genius
@feastures7 жыл бұрын
I call C++ insanity.
@tombil-certon4 жыл бұрын
@@feastures the line between insanity and genius is very blur
@QuentinUK8 жыл бұрын
That is not the stars.
@KevinKuruvillaPianoCovers8 жыл бұрын
Likes : 138 Dislikes : 0 .respect.
@feastures7 жыл бұрын
Simple a case of selection bias (en.wikipedia.org/wiki/Selection_bias), only people that 'love' this horrific programming language will watch.
@achmadfathoni39447 жыл бұрын
feastures You are new in c++ , aren't you?
@dmaster20ify7 жыл бұрын
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.
@Uni-Coder8 жыл бұрын
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.
@angistron8 жыл бұрын
Hahaha, good one.
@ITR8 жыл бұрын
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.
@nicolareiman96875 жыл бұрын
u know nothing about IT industry
@sethother80125 жыл бұрын
Lamest. Audience. Ever. They don't even laugh at his opening jokes. Poor guy. lol
@kasozivincent1074 жыл бұрын
This dude forgot about belts 😂😂
@paulfunigga8 жыл бұрын
shame on bjarne for that sequence example, there's division by zero after his return statement
@carbonquiznoz17 жыл бұрын
Paul Orekhov ok
@gblargg4 жыл бұрын
21:36
@teemoonduty49458 жыл бұрын
garbage collection is not enough!
@kwanarchive7 жыл бұрын
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.
@feastures7 жыл бұрын
All we need is C++ to garbage collect itself.
@dertechl66287 жыл бұрын
who needs a GC if there's RAII?
@dildarsk2467 жыл бұрын
5 fucking javascript,python coders found.
@chimpionboy6 жыл бұрын
Loll.
@jptbaba8 жыл бұрын
Thanks for creating a horrible language!
@Alex-ht1oq8 жыл бұрын
jptbaba why are you here then ? Just unnecessary.
@ITR8 жыл бұрын
Why do you think c++ is a horrible language? xD
@jptbaba8 жыл бұрын
Linus torvalds said so thats why.
@ITR8 жыл бұрын
jptbaba So you blindly follow everything Linus says without looking at his reasons for why? :-P
@aldrinaldrin46187 жыл бұрын
Linus said it... in his kernel's performance perspective.
@datpham314156 жыл бұрын
bill gates let others develope it !!!
@feastures7 жыл бұрын
Talking about garbage collection: C++ is a collection of garbage.
@thepdg51607 жыл бұрын
feastures What's wrong with you? Why do you hate on C++ and have the desire to spread that hatred?
@pseudorealityisreal7 жыл бұрын
Yeah, he is a troll. C++ is hard, but rewarding. Guess this troll doesn't like hardwork.
@socrattt7 жыл бұрын
are you bad at programming?
@gblargg4 жыл бұрын
Given the requirements, what design do you think would better meet these?