|
|
|
|
|
by masklinn
3917 days ago
|
|
> Additionally, Rust is only memory-safe to the extent that you do not use unsafe code and that includes the libraries that your project depends on. In much the same way other languages are only memory-safe to the extent that you don't use an FFI (or make sure you're using theme safely). You can trivially segfault CPython with ctypes. Though unsafe code is probably more common in Rust than native code is in Ruby or Python owing to it being in closer reach and not requiring language switch and great complexity increase in distribution. |
|