Le 27 février 2025 23:01:45 GMT+02:00, Michael Niedermayer <[email protected]> a écrit : >we have a memleak, a use after free, a aliasing violation, >some invalid pointer and a out of array read > >a safe language should not allow any of this >C++ allows all of it, its not safe, switching to C++ doesnt help
To be fair, Rust allows memory leaks, though it vastly reduces the situations in which they can happen. And it will compile code attempting out of bounds slice or array accesses (though that code will panic at runtime). But I agree that C++ isn't worth switching to. _______________________________________________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
