3 links
tagged with all of: programming + bugs
Click any tag below to further narrow down your results
Links
Collin Richards details the process of porting the tmux codebase from C to Rust, achieving a fully Rust codebase after overcoming various challenges with code maintainability and bugs. He discusses the use of the C2Rust transpiler, the build process, interesting bugs encountered, and differences between C patterns and Rust programming practices.
Rust's reputation for safety primarily centers around memory safety, but it does not guard against many common logical errors and edge cases. The article outlines various pitfalls in safe Rust, such as integer overflow, logic bugs, and improper handling of input, while providing strategies to mitigate these risks and improve overall application robustness.
Formally verified code can still contain bugs due to various factors such as invalid proofs, incorrect properties being verified, and erroneous assumptions. The nuances of what "correct" means in formal methods can lead to misunderstandings about the guarantees provided by formal verification, especially in complex scenarios like Unicode handling. Understanding these limitations is crucial for developers working with formally verified systems.