Re:Implications of Rewriting a Browser Component in Rust
by steveklabnik on Thursday February 28, 2019 @02:16PM
(#19274184)
Dropbox did this in their Rust code: https://github.com/dropbox/rust-brotli-decompressor/blob/mas...
https://github.com/dropbox/rust-brotli-decompressor/blob/mas...
Toggle the feature, remove the bounds checks unconditionally.
Similarly, I could complain that rust arrays are too slow, and produce an array implementation that uses unsafe under the covers.