Sean Murthy · @smurthys
126 followers · 1475 posts · Server hachyderm.io

I won't be the first to say this, but we need to retire the phrase "Modern C++". I mean, C++11 was 12 years ago.

I understand that branding was necessary back then due to significant changes in the language and library, but it is ridiculous to continue to cleave language versions like that.

For my part, I just removed "Modern" from a course title, and I'm not looking back. 🚀

#cpp #cplusplus #moderncpp

Last updated 2 years ago

Am I? · @ami
125 followers · 1089 posts · Server floss.social

@meetingcpp
Digit separators are my absolute favorite feature.
There are a lot of reasons to use 11+ but having written and coming back to not being able to see what number we're talking about (especially if you have a smidgen of ) just feels like such a regression!

#moderncpp #Cpp #vhdl #dyscalculia

Last updated 2 years ago

Mathias Hasselmann · @taschenorakel
546 followers · 2093 posts · Server mastodon.green
Am I? · @ami
118 followers · 888 posts · Server floss.social

@luna
I'm actually liking C/C++ more and more as a way to distinguish from proper or .
As in:
"You should definitely stop writing C/C++, it's giving C++ a bad Rep"

#moderncpp

Last updated 2 years ago

Mathias Hasselmann · @taschenorakel
541 followers · 1955 posts · Server mastodon.green

So I finally have an example that underlines my gut feeling of the else-if-statements being in modern C++.

Consider test(char) being a function returning a std::optional<>:

if (const auto x = test('A'))
handle_a(*x);
else if (test('B'))
handle_b(*x);

The function handle_b() will receive the invalid optional returned by test('A') instead of the one returned by test('B') without the compiler providing any warning.

Maybe something for your blog, @lefticus

#harmful #cpp #moderncpp

Last updated 2 years ago

Am I? · @ami
118 followers · 813 posts · Server floss.social

Heartbroken that I won't be able to attend ++ this year, but you can!
IMO emBO++ is _the_ best conference for , and the atmosphere there is the best I've experienced at any conference.

If you don't believe me, go buy a ticket at

emBO.io

#emboio #lifelonglearning #conference #embeddedprogramming #moderncpp #embedded #embo

Last updated 2 years ago

Lucian Radu Teodorescu · @LucTeo
22 followers · 16 posts · Server techhub.social

A Pattern Language for Expressing Concurrency in Cpp -- my talk at CppCon 2022

youtube.com/watch?v=0i2MnO2_ui

#moderncpp #programming #cpp #cppcon

Last updated 2 years ago

Am I? · @ami
110 followers · 636 posts · Server floss.social

@lefticus it was very funny to hear you of all people, Mr. "I've started telling people I'm a youtuber" react that way to on .
has a lot of similarities to .

I haven't gotten very far in my own journey (hopefully next year I'll be modernizing a PHP code base) but you would download the jetbrains IDE, turn on all the tools, and take all the best practices hints.
It uses classes and defined interfaces and has a package manager, it really feels like a new language

#moderncpp #ModernPHP #cppcast #PHP

Last updated 2 years ago

· @grumpyoldmarxist
56 followers · 524 posts · Server muenchen.social

RT @CppCon
Breaking Dependencies - C++ Type Erasure - The Implementation Details - Klaus Iglberger CppCon 2022

youtube.com/watch?v=w-NN5r1Awq

#cppcon #cpp #programming #moderncpp #cpptypeerasure

Last updated 2 years ago

Am I? · @ami
110 followers · 508 posts · Server floss.social

The keynote from this years @meetingcpp is already online. Great job! This is an interesting one, a real rollercoaster ride.

My takeaway is: try new things out and talk about the warts.

#Cpp #moderncpp #ranges #meetingcpp

Last updated 2 years ago

Markus Ewald · @cygon
41 followers · 155 posts · Server mastodon.gamedev.place

First production use of my C++ dependency injector.

Its syntax is inspired by Ninject and it uses
- no macros
- no preprocessor
- no code generator

It does constructor injection exclusively and figures out constructor signatures through pure template magic and no dirty tricks.

#templates #cpp #moderncpp #programming

Last updated 3 years ago