← Back to context

Comment by naikrovek

4 days ago

i write my own binary formats because they're fast and small. yes, in production. partly because it's just as easy as anything else for me now, partly because it doesn't require any dependencies at all, and partly to show others just how easy it is, because i think people are unnecessarily afraid of this.

no i don't write my own encoding or encryption.

why the hell would anyone use json for everything, and why would someone who doesn't do that earn your derision?

I didn't say anywhere that we should use json for everything.

I think most people would go with something standard and documented. If you work in a team it helps if you can hire people that are familiar with tech or can read up on it easily.

And in general, unless you can show that your formatter is an actual hot path in need of optimization, you've just added another piece of code in need of care and feeding for no real gain.

Most devs/applications are fine with protobuf or even Json performance. And solving that problem is not something they can or should do.

If you write something like that just to prove a point, good for you. Also I would never want to be on the same team