Remix.run Logo
whstl 5 hours ago

I find C++ not hard at all when working with familiar idioms, restrictions and toolings (familiar to me). But it's hard jumping into new codebases and adjusting yourself to new patterns. Recently I did a lot of programming using C++23 Modules and it was a breeze.

There's basically dozens of very nice languages inside C++. That can be a blessing or a curse.

I'm anxious for Herb Sutter's CPP2/CPPFront to become a standard.

domenicd 5 hours ago | parent | next [-]

What type of project actually uses C++ 23 modules in real life? What kind of toolchain enables that? When I worked on Chromium, they were indefinitely in the "maybe in 5-10 years the tooling will be ready" camp.

bluGill 3 hours ago | parent | next [-]

The tooling people have - as of about a year ago said they are ready. Now everyone who considers themselves early adopters is using then. Most are waiting for the early adopters to figure out what the best practices are so we don't make a mess

maccard 18 minutes ago | parent [-]

What early adopters are using them? Because my impression is the tooling still isn’t there

whstl 4 hours ago | parent | prev [-]

YC startup. Toolchain was Clang and sh.

Chromium is gonna be more conservative than that for sure.

tialaramex 5 hours ago | parent | prev | next [-]

In February this year Herb tweaked a test case. That was his last commit to his "CPP2 syntax experiment". Don't expect it to "become a standard".

https://github.com/hsutter/cppfront/commits/main/

whstl 4 hours ago | parent [-]

That's a shame! It's a lovely language.

Mond_ 29 minutes ago | parent [-]

Is it really, though, or is it just in comparison to C++?

Tbh I never expected that experiment to go anywhere. I guess that leaves Carbon (and large scale efforts to rewrite C++ in Rust).

whstl 10 minutes ago | parent [-]

I personally really like the syntax and the defaults, and I like it more than the C++ alternatives.

avadodin 5 hours ago | parent | prev | next [-]

Looked up what C++23 Modules were and I must say I was not let down.

drysine 3 hours ago | parent | prev [-]

>I'm anxious for Herb Sutter's CPP2/CPPFront to become a standard.

Why? It doesn't remove complexity, it (partially) hides it and makes the whole thing even more complex.

whstl 8 minutes ago | parent [-]

I enjoy the syntax and the defaults he picked, and it matches the way I use C++. I prefer it to all the C/C++ alternatives.