3 ms·
Shocking why?
by tmp538394722 6y ago
Shocking why?
- chubot 6y agoI imagine because ASAN and UBSAN are dynamic analysis, while Rust's philosophy is to offer static guarantees. I guess the problem is "unsafe" blocks. Someone else can probably elaborate better, but if you have pure Rust code with no unsafe blocks, you shouldn't have any memory errors. But large systems written in Rust might still benefit from finding memory errors dynamically rather than statically with something like ASAN.
- steveklabnik 6y agoYou are correct, yes. This is used on unsafe code only.