Hacker GitHub

← All repos

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

Mentions per year 9 mentions · busiest year 2016 (2)
20082026
  1. 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.
  2. …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?
  3. …Javascript library: https://github.com/google/brotli Also, there's also a Dropbox Rust library: https://github.com/dropbox/rust-brotli
  4. 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…
  5. 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
  6. 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
  7. For Rust https://github.com/dropbox/rust-brotli
    comment by steveklabnik · 2017-04-05 · in Brotli is now supported in most browsers
  8. …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
  9. 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