Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
lorentz15183302d@atheist protobuf is compressed so very slow to write. I don't need to copy my buffers so size doesn't matter as much as serialization and deserialization speed
-
atheist9983302dOne option would be MessagePack, but doesn't have the nicety of auto schema generation
-
atheist9983302dAlso... Double check about the compression? https://medium.com/@david_turner/...
It encodes ints to use fewer bytes (same way MessagePack does) but doesn't compress as far as I can tell -
lorentz15183301dThe fucking interner is compiled into the crate, and called inline a million times in every little function with a generic method, how the fuck am I gonna hair this apart!?
Related Rants
I keep forgetting what a massive pain in the ass it is to use dynamic libraries in anything other than C. I'm genuinely contemplating defining a serialization-based API and talking to plugins with a blob->blob function pair.
rant
rust
dynamic libraries
orchid
abi