but it really doesn't matter since it's such a niche area. Rust doesn't need to take these over, there's really no any need to
but the vast majority of old C++ was simply general purpose stuff like web servers/backends/databases etc. and now it's more of a liability to use it, especially for a backend with untrusted clients interacting with it
for games, probably it'll be hidden behind FFI, like a lot of it already is like in the ML space
So Nim?! ;) At least my AI agents seem to be able to build very quickly with Nim. The performance is generally on par with c++/rust. Though Nim sits much closer to the if it compiles it runs side of things.
I had Claude literally one shot a GUI demo app in Nim the other day. It compiled and ran like a charm first try! I was pretty happy with that.
Theres advantages that C++ has over rust still with const exprs and template specialization, which Nim shares as well. IMHO, thats the sweet spot. Rust might get there one day.
Pretty much anything that fits the pattern though seems to do quite well and I suspect AI will help these languages.
Of course that's before crushing them because "why in the hell would i use <niche lang>" when the AI can just pick something from the common toolkit like rust/TS/python.
I am curious if someone is going to use an LLM to take 2 something at assembly level and get as close to bare metal as possible but still with guarantees, or something like that.
Then again I'm the moron who figured I'd do AoC this year in Uiua so you know, grain of salt.
compile times, code/codebase size, and obviously the observables in the final product (memory usage and runtime performance, security) will matter. but the actual code is next to irrelevant, assuming that AI can work with any language at about the same level.
rust still loses on all of these except security. it doesnt matter if in practice rust only loses by 0.5% on perf because the core libraries everyone uses just aren't optimized enough - as long as that changes, certain applications (e.g. those that dont care about the built in compile time security and are happy to fix it up in cpp with AI loops), those projects wont switch to rust.
compile times are especially horrendous btw. hard to think someone came up with a language that takes even longer to compile and iterate on than cpp .
Until it is fully bootstraped, it can't fully replace it.
Note that LLVM and GCC are the few projects that have a similar level of contributions as the Linux kernel.
As user of managed languges whose runtimes have enough C++ under the hood, I am perfectly aware that as much as I would like them to be fully bootstraped it will never going to happen for various kinds of reasons, not really technical ones, rather economic, human, historical baggage kind of stuff.
Which doesn't seem to be the case every time we get those RIR advocacy posts, and that gets tiresome on the audience.
Still looking forward to meeting this mythical Rust Evangelism Strike Force. I keep hearing about how prolific and intrusive they are, yet somehow they seem to have left the room just before anyone sees them, every time. It's curious.
Or how they managed to push ThePhd and Actix-Web original author away from the community.
The WG14 and C has a lot to thank for having ThePhd refocus on C.