4 ms·
These two examples come from bad library design, not bad language design. The first one was fixed with ranges. The second one would be fixed if C used an explic
by gmueckl 2y ago
These two examples come from bad library design, not bad language design. The first one was fixed with ranges. The second one would be fixed if C used an explicit string type in it's standard library.
- tsimionescu 2y agoThat is besides the point. The claim was about making C++ memory safe by adjusting the runtime, and I was curious how that could work for cases other than use-after-free.