HN Theater @HNTheaterMonth

The best talks and videos of Hacker News.

Hacker News Comments on
C++20: Reaching for the Aims of C++ - Bjarne Stroustrup - CppCon 2021

CppCon · Youtube · 11 HN points · 1 HN comments
HN Theater has aggregated all Hacker News stories and comments that mention CppCon's video "C++20: Reaching for the Aims of C++ - Bjarne Stroustrup - CppCon 2021".
Youtube Summary
https://cppcon.org/
https://github.com/CppCon/CppCon2020
---
Out of necessity C++ has been an evolving language. I outline some early ideals for C++, some techniques for keeping the evolution directed, and show how C++20 comes close to many of those ideals. Specific topics includes type-and-resource safe code, generic programming, modularity, and the elimination of the preprocessor. Naturally, over the years, C++ has acquired many “barnacles” that can become obstacles to developing elegant and efficient code. That has been a recognized problem since the early days of C – Dennis Ritchie and I talked about it – so we must distinguish between what can be done and what should be done. The C++ Core Guidelines is the current best effort in that direction.

---
Bjarne Stroustrup
C++: history, design, use, standardization, future; performance, reliability; software developer education; distributed systems

Bio: www.stroustrup.com/bio.html
---
Videos Filmed & Edited by Bash Films: http://www.BashFilms.com

The CppCon YouTube Channel Is Sponsored By:
JetBrains : http://jb.gg/cpptools
SonarSource: https://www.sonarsource.com/
HN Theater Rankings

Hacker News Stories and Comments

All the comments and stories posted to Hacker News that reference this video.
Jan 16, 2022 · 3 points, 0 comments · submitted by pantuza
I was just tonight watching Bjarne’s cppcon 21 talk[1] and he does not seem to think they’re dead.

OTOH, from what I can tell my compiler of choice, clang, has not improved its support since last time I dabbled with it unsuccessfully. But I could be Doing It Wrong. There seems to be very little stuff on the internet about actually using them which is not a great sign.

[1] https://youtu.be/15QF2q66NhU

Dec 19, 2021 · 2 points, 0 comments · submitted by Anilm3
Oct 30, 2021 · 2 points, 2 comments · submitted by AlexeyBrin
Bostonian
Is there a comparable written document by Stroustrup?
tialaramex
Here's what Bjarne (after decades) thinks C++ should some day be able to aspire to:

import std; int main() { std::cout << "Hello, modern world!\n"; }

Now let's contrast what cargo gives you by default today for any new program (Rust's cargo automatically gives you a Hello, World program to begin with in your new project):

fn main() { println!("Hello, world!"); }

Even all these years later, Bjarne is still happy with a main() function which claims to return an integer but doesn't bother to actually do so.

I believe this reflects the continued belief in the "subset of a superset" approach to evolving C++. Yes, says Bjarne, obviously some parts of C++ are terrible and must be eliminated, but, let us first grow C++ to include these other features I'm interested in.

Like a child who agrees that they ought to eat the vegetables, but, first they insist on sauce for the icecream on their dessert. Somehow it seems as though the vegetables are never eaten because more dessert is always desired first.

Oct 27, 2021 · 4 points, 0 comments · submitted by pjmlp
HN Theater is an independent project and is not operated by Y Combinator or any of the video hosting platforms linked to on this site.
~ yaj@
;laksdfhjdhksalkfj more things
yahnd.com ~ Privacy Policy ~
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.