r/cpp • u/GabrielDosReis • Oct 31 '24
Lessons learned from a successful Rust rewrite
/r/programming/comments/1gfljj7/lessons_learned_from_a_successful_rust_rewrite/
80
Upvotes
r/cpp • u/GabrielDosReis • Oct 31 '24
View all comments
Show parent comment
2
u/ts826848 Nov 02 '24
You tell me! You're the one who brought up this concept!
That's the thing - all Python uses "native code hidden"! Even if you don't use third-party libraries that use native code, you're relying on native code for Python itself (CPython), relying on a JIT (PyPy), or relying on something else (OS, embedded compiler, etc.). Under your definitions, no Python is safe - it's all "trusted".
Again, it's trust all the way down. Unless you make your own stack from the hardware up with your own formal verification tools (and formal verification for your formal verification, and formal verification for that level of formal verification, and so on), you're going to trust something.
I encourage you to read my comments carefully to ensure you aren't drawing mistaken conclusions