I do really like C++.
And yes, this would work.
Many Rust shills seem to have some rust in their brain…
Seems like solar power with extra steps lol.
(Sun -> Plants -> Food for people/other food)
Technically speaking, pretty much all of our power is solar power with extra steps.
True. All just inefficient ways of harnessing fusion power.
You are technically correct. The best kind of correct.
Hmm hydro isn’t, is it?
The sun powers the water cycle.
Not the tides 🤔
deleted by creator
These trolley problem memes are getting harder and harder to understand
How do you produce the coffee to power the rust users?
Aren’t they powered by the sheer spite they generate at hearing the loudspeaker?
Believe it or not, also the sun!
That’s the critical question!
Does the solar power the speaker and the turbine is the power generation? Does this turbine produce more power than the solar powering the speaker?
C++ is pretty alright, IMO, but the syntax is kinda clunky though, I think probably because of some historical baggage.
That and the weird aversion to introducing new or useful keywords, or even extending the symbol set that doesn’t even use full ASCII.
Word! The whole snafu with
co_
routines has been quite the laughable show. It would have been trivially sortable if C++ did something like what PHP did, using a symbol to absolutely disambiguate what is a variable and what is not. That way eg.:await
is a keyword,$await
is a variable (perhaps a functor).To make it even better,
is already unused in C++!
Correct. Backwards compatibility is both its biggest asset and its bigger problem.
In syntax alone, you can check what Herb Sutter is doing with cppfront. Specifically, the wiki page on the postfix operators is quite enlightening. It shows some interesting examples of how by making everything a postfix operator you drop the need of
->
and the duality of pre/post increment and decrement operators.
🫑
C++: you sure you want to do this? This will either: a) blow your foot off b) be too fast to be measured in micro-benchmarks.
b. B. B. a. then B.
You have chosen to simultaneously blow your arm off and be the fastest code thing on the planet. Congrats. Yes.
I’m a D developer, this wouldn’t work for me. Hell, I can even in theory directly interact with C++ code from my language of choice, except I still haven’t. I have started to write a binding (and some nice D-style API) for Wasmtime, which is written in Rust.
Seriously. Try publishing anything not written in Rust nowadays and you WILL get multiple “bUt baut mUh rUsT??? 1?1!! 11!1!” Comments.