Re:Moving from Ruby to Rust
by james_s_tayler on Friday February 15, 2019 @12:51AM
(#19168755)
Because it usually involves doing a lot of things that are unsafe. Take reflection for instance. There is no way to guarantee at compile time that a string whose value is only known at run-time is actually a real method in the code that can be invoked.
To get the level of safety they have gone for they have to disallow anything that could potentially blow up.
To get the level of safety they have gone for they have to disallow anything that could potentially blow up.