3 ms·
Fair enough. I have personally experienced pain with phantoms. But then what would you advice to do ? There are nightmare patterns in rust and c++. Looks to me
by mav3ri3k 2y ago
Fair enough. I have personally experienced pain with phantoms.
But then what would you advice to do ? There are nightmare patterns in rust and c++. Looks to me as pick your poison just that one is new and other has been around for fair bit.
- zeroCalories 2y agoLooking at Typescript, the latest successful language, I think the way forward is to make C and C++ safe by gradually adding and deprecating features.
- mav3ri3k 2y agoI am sorry. I really don't see your point. Typescript is in a completely different league of languages than rust/c/c++ with vastly different use cases. Also, the world still mostly speaks C99 when iterative improvements are constantly being made up to C23.
- zeroCalories 2y agoThe point is that Typescript was able to replace JavaScript by adding to it. Converting a codebase from js to ts was simple. Going from C++ to Rust is not. I think C23 is going in the right direction, but it needs to go further.
- drawfloat 2y agoTypescript isn’t a separate language though, nor does it replace Javascript, you’re comparing apples and oranges.