▲ | vlovich123 12 hours ago | ||||||||||||||||
I think you are misunderstanding. Rust does not solve or prevent distributed systems bugs, just memory safety and certain kinds of thread safety problems. For that you’d need to use a formal proof system like Coq. There’s a reason you should still be writing unit tests and hypothesis/property tests in Rust, to catch issues the compiler can’t catch at runtime which is a huge surface area. | |||||||||||||||||
▲ | lmm 9 hours ago | parent | next [-] | ||||||||||||||||
> There’s a reason you should still be writing unit tests and hypothesis/property tests in Rust, to catch issues the compiler can’t catch at runtime which is a huge surface area. It would be irresponsible to suggest that Rust eliminates a large enough proportion of common errors that you can YOLO anything that compiles and achieve an acceptable defect rate... but it does happen to be true in my experience. | |||||||||||||||||
| |||||||||||||||||
▲ | dlahoda 10 hours ago | parent | prev [-] | ||||||||||||||||
i guess most of issues anthitesis finds are preventable by simple or more evolved rust (patterns). in rust i just have more time for other things you mentioned. also it is clear you are misunderstand rust. rust type and macro system allow to write adhoc partial proves of things around in my code with no extra tooling. that is easy bits what rust adds on top of thread and mem. and definetely i do need to run for help of rocq right away, rust ecosystem has a lot of options. also not only lang itself matters, but also cargo which goes along. | |||||||||||||||||
|