4 ms·
Likely not because a feature like that kind of has to be implemented as part of the core language. Maybe someone could retrofit a “safe” version of c/c++, but t
by vlovich123 6y ago
Likely not because a feature like that kind of has to be implemented as part of the core language. Maybe someone could retrofit a “safe” version of c/c++, but there’s nothing on the horizon that indicates that would be possible (they are hampered by back compat issues).
- smitty1e 6y agoI mean, MyPy does have some core PEP support, but remains optional for Python. If something as core as type checking can be an optional feature, I'd be surprised if a heftier brain than mine can't get most of the way to a C++ borrow checker optionally. Doesn't C++ famously fetish complexity? Wasn't pi once calculated at compile-timel with a C++ template? Where is my Obfuscated C entry that looks like an ASCII Robotron game and borrow-checks, say, the Linux kernel?
- pjmlp 6y agoThat is partially the reason why all big OS and CPU vendors are investing into hardware memory tagging.
- metreo 6y agoproject verona is _one_ attempt at doing this, ebpf is another