C++ – The Newest Old Language • Matt Godbolt • GOTO 2018

preview_player
Показать описание
This presentation was recorded at GOTO Chicago 2018. #gotocon #gotochgo

Matt Godbolt - Low-level Latency Geek @MattGodbolt

RESOURCES

ABSTRACT
C++ is an old language only used by the unfortunate few that absolutely have to, right?

Wrong!

C++ is not the language it used to be: clunky, error-prone and lacking in tooling. A lot has changed in the last decade: three new language revisions, new compilers and all-new tooling and diagnostics. Memory leaks and segmentation faults are all but a distant memory!

In this talk, Matt will cover some of the things that make C++ a great choice for a wide variety of applications. He'll cover the best of the new bits of the language, and demonstrate how modern tooling makes coding in C++ fun again.

The intended audience is both C++ folks who might want to catch up on the latest and greatest, but also anyone who think C++ is a write-off and isn't used any more. [...]

Download slides and read the full abstract here:

#Cpp #Cplusplus #Cplusplusprogramming #ProgrammingLanguages #MattGodbolt

CHANNEL MEMBERSHIP BONUS
Join this channel to get early access to videos & other perks:

Looking for a unique learning experience?

SUBSCRIBE TO OUR CHANNEL - new videos posted almost daily.
Рекомендации по теме
Комментарии
Автор

for a second i thought this video was about the 'goto' keyword in c++

ryusaki
Автор

Great talk: straight, simple, informative.

davidlanda
Автор

so... who thought that it was their own laptop going into sleep mode ?

LaurentLaborde
Автор

It's a nice talk and all, but as a C++ enthousiast at a point I felt embarrassed for him presenting all those features in front of a crowd using languages in which they probably existed for a long time ^^

yan-amar
Автор

Very nice talk.

C++ is like that exotic girl from high school. You liked her and you could stay with it, but as you grown older the problems she brings starts to bothering you because you don't have time to read a 10 page letter because she is upset with you because of some simple that could be resolved much earlier and then you have to arrange your agenda in other for her to be ok with it.
Now c++20 is that woman as a mature woman who learned that some complications aren't necessary, but stills complains when you do something better because the books should be in the upper drawer instead of the bottom drawer.

motbus
Автор

Unix pipes is a forgotten thing? I use them all the time too!

casperes
Автор

Most people who have problems with C++ seem to me to be people who do not enjoy programming.

technologicalwaste
Автор

Qt makes C++ the goto for desktop apps. Newer languages like Rust and GoLang don't have a native GUI API. Perhaps Kotlin with JavaFX or TornadoFX could complete, but I suspect that for compute-intensive tasks, Kotlin would be prone to stuttering GUIs unless the developer was very careful - due to garbage collection.

philmarsh
Автор

For me the biggest issue od c++ are includes (preprocesor if directive to check if file were already includes)and how namespaces works (sometimes so much code to write in one line)Packages would be nice!

psdmaniac
Автор

Awesome talk. Good summary of all the features.

gydckn
Автор

Tried looking up algebraic types in c++. Didn't find much

DimageSapelkin
Автор

Why did he say, "never ever ever use doubles for prices" (@ 19:36 mark) ? It's not enough precision? Does he mean you should use long double? Or because you should use value type instead - to avoid problems like mixing price and quantity?

RifleAutoWin
Автор

I've not done any C++ for years and years and years.... And I had long written it off as "rubbish". But some of the stuff in this talk has made me go "hmmmm.... that's NICE!"

edgeeffect
Автор

14:26 the .... how can that be better than int? I see no point in not using types if its less coding. It clarifies things for me.

colinmaharaj
Автор

I'm still confused about his point of the value type. Why does c++ have the strength of "zero overhead"? Can someone provide examples of other languages that not doing so well? And what is his point of that example of the "quantity, price"? it seems just a human error. What kind of strenth of C++ is shown in this example? Thanks

zspencer
Автор

finalize() has been deprecated in Java just recently

truthadjustr
Автор

I get so sick and tired of people thinking of memory leak issues being tied to C++.
Even back in the 90s anyone that could actually program would NEVER cause a memory leak.

When following some basic rules (which I hope to see enforced in a replacement language), its simply impossible.
Many simply did not understand the basics of memory and this is true even today, yet people should know.
Now days people get stuffed full with nonsense about "best practices" that only over-complicate the code and can cause these issues to begin with.

And some of those new C++ features are the exact pathogen I am talking about.
They should have cut parts out of the language and it would have improved.

Language power comes from simple, expressive / predictable code.
The rest is fluff that only does harm but might help in specific edge cases.

And for crying out loud, I wish all languages with some form of templating would stop repeating Template<Type> in favor of a mandatory alias (like: templateType ), which is much more natural.

TheEVEInspiration
Автор

Then… should I learn C++ or not? …😞 … i am just a beginner

yomismo
Автор

C++ greatest advantage over newer languages is LIBRARY SUPPORT.

philmarsh
Автор

His root mean square code neglects to divide by the number of elements.

richardcavell