dropbox/rust-brotli
View on GitHub ↗ ★ 968 Rust
Brotli compressor and decompressor written in rust that optionally avoids the stdlib
9 mentions on Hacker News by 8 people: 0 stories, 9 comments · first 2016-06-29 · latest 2026-10-24
20082026
-
Rust-Brotli (by Dropbox) is actually a drop-in replacement for the Brotli C lib: https://github.com/dropbox/rust-brotli#:~:text=rust-brotli%2... Dropbox switched to it a decade ago, so it's probably quite product-ready.
comment by _flux · 2026-10-24 · in Broccoli2Shell: Brotli decoder RCE in Node.js, Python and more -
…bounds checks, I was wrong. EDIT: neither the unsafe flag nor the macro appear to be present in https://github.com/dropbox/rust-brotli/ anymore today, removed some time in 2017. So it seems they found some other way to deal with it?
comment by ATsch · 2020-10-26 · in Single_file_libs: List of single-file C/C++ libraries -
…Javascript library: https://github.com/google/brotli Also, there's also a Dropbox Rust library: https://github.com/dropbox/rust-brotli
comment by Communitivity · 2019-08-20 · in Brotli vs. Gzip Compression. How we improved our latency by 37% -
Dropbox uses Go ( https://github.com/dropbox/godropbox ), Rust (e.g. https://github.com/dropbox/rust-brotli ) and Python on the server-side, and both Rust ( https://github.com/dropbox/finderinfo-rust ) and Python on the client-side. As…
comment by rrdharan · 2018-09-25 · in How we rolled out one of the largest Python 3 migrations -
I'm a big corrode fan and I used it (plus a really simple python script https://github.com/dropbox/rust-brotli/blob/master/uncorrode... ) to help translate the brotli encoder https://github.com/google/brotli/tree/master/c/enc to safe,…
comment by daniel_rh · 2018-07-01 · in C2rust vs. Corrode -
I'm the author of https://github.com/dropbox/rust-brotli and I certainly ran into the issues mentioned in the article, and the initial version of my brotli decoder and encoder were each almost 10x slower. I also worked around each and…
comment by daniel_rh · 2017-08-01 · in Rust: Not So Great For Codec Implementing -
For Rust https://github.com/dropbox/rust-brotli
comment by steveklabnik · 2017-04-05 · in Brotli is now supported in most browsers -
…using Rust. So it seems that those using rust don't read HN: https://github.com/servo/servo https://github.com/dropbox/rust-brotli -- Bottom line: Bash everyone else arbitrarily and claim oneself to be the best!
comment by 0xmohit · 2016-08-14 · in Python packaging is good now -
Apparently this( https://github.com/dropbox/rust-brotli ) is much faster than the one( https://github.com/ende76/brotli-rs ) fuzzed by afl.rs. Like 10x faster. See https://github.com/ende76/brotli-rs/issues/24 .
comment by sanxiyn · 2016-06-29 · in Lossless compression with Brotli