Rich Samartino's avatar
Rich Samartino
rs@zaps.lol
npub19vrp...luvw
2026 ₿OSS Challenge participant. npub1er775ew586ekz9tek56w9ttlad45m4q9ketfs9h0793dwvfj5y3q53q74t alter ego
Rich Samartino's avatar
RichSamartino 2 weeks ago
Living life 144 blocks (about one day) at a time 😎
Rich Samartino's avatar
RichSamartino 1 month ago
Interesting article about the history of #rust "The software inside devices like elevators is often written in languages like C++ or C, which are famous for allowing programmers to write code that runs very quickly and is quite compact. The problem is those languages also make it easy to accidentally introduce memory bugs—errors that will cause a crash. Microsoft estimates that 70% of the vulnerabilities in its code are due to memory errors from code written in these languages."
Rich Samartino's avatar
RichSamartino 1 month ago
one of the advantages of #rust: "When you attempt to access an element using indexing, Rust will check that the index you’ve specified is less than the array length. If the index is greater than or equal to the length, Rust will panic. This check has to happen at runtime, especially in this case, because the compiler can’t possibly know what value a user will enter when they run the code later. This is an example of Rust’s memory safety principles in action. In many low-level languages, this kind of check is not done, and when you provide an incorrect index, invalid memory can be accessed." from