by whatyesaid · 1y ago · 0 comments
We need a better C++ ("systems") base language that could have an optional borrow checker or bounded model checker enabled.
Though really I suppose "comfort with a language " is such a big factor, seeing people really belt out stuff in C is always a bit impressive to me (yeah yeah, bug filled etc)
But large codebases in C are tedious to work with and slow to refactor.
Maybe if you’ve already got the toolchain set up and boilerplate templates etc.
That being said, keep an eye on Carbon.
Develop? Debatable. At a certain scale of project, all the static guarantees become quite helpful. And a "prototype" written in Rust is often much closer to production-ready than you might think. Rust makes it easier to see which corners you've been cutting than most languages.
Over the last year and a bit they've also been working on strong C++ interop to be able to start using it in their own projects without having to do rewrites, and also better cross-platform and static linking support on Linux which could all make it a lot more attractive.
(For context, like Rust, Swift is both memory safe and data-race safe)
C++ and Rust are a different thing.
That’s simply not true, starting with ARC being compile-time and GC being run-time.
Are you describing Rust?