Обложка канала

Technologic

Posts by deeply involved developers about various aspects of FOSS technologies, Linux, programming, security, infrastructure solutions and DevOps practices

Technologic

4 года назад
Открыть в
One step to more wide application of Rust in aerospace sphere! Obviously, there're a lot more things should be done to use Rust even more widely, espesially for embedded systems. For example, fault tolerance to run-time memory allocation exceptions in stdlib collections, dealing with infallible methods (panic on allocation failure in operations with collections), error handling, and process recovering, after alloc errors, not yet fully supported in Rust stdlib's collections API (see this issue: containers should provide some way to not panic on failed allocations · Issue #29802 · rust-lang/rust · GitHub) But the Genie is already out of the bottle! More things to come and that's will be huge! https://github.com/CIUDSE #Rust
containers should provide some way to not panic on failed allocations · Issue #29802 · rust-lang/rust

I was working on a Rust image library, which has code like: vec![0xff; self.num_channels * self.width as usize * self.height as usize] This code should really be checking for overflow on the multip...

GitHub