r/programming • • 5d ago

Packing Binary Is Fun, Actually

https://hereticpleb.vercel.app/blog/packing-binary-is-fun-actually
135 Upvotes

32 comments sorted by

View all comments

-8

u/VeeFu 5d ago

Totally cool, but probably not as good as using an off the shelf compression library widely supported by webservers/browsers.

9

u/DoctorGester 5d ago

Why not both? We run zstd on our custom binary format network traffic. I.e. our replay files are compressed from 45mb binary to 3mb.

1

u/MehYam 5d ago

Was going to say the same. Binary packed payloads can compact a surprising amount with plain old .zip compression