News for hackers. Stuff that matters.
Re:Formatting Is Unreasonably Expensive for Embedded Rust by GolDDranks on Monday December 09, 2019 @07:32PM (#21748361)
Note that it's very rare to end up with programs with provably zero instances of panicking. Even .unwrap() is okay to have if you don't use it for errors but signaling fatal, unexpected logic bugs. Every instance of array indexing have bound checks, and thus panics. The formatting machinery is going to end up in your binary if you don't make special precautions for it not to.

There are no comments on this comment yet.