3 ms·
It's unlikely you can write a serializer/unserializer that is faster than what we already have. And bug-free on complex objects.
by bufferoverflow 7y ago
It's unlikely you can write a serializer/unserializer that is faster than what we already have. And bug-free on complex objects.
- naikrovek 7y agoIt's unlikely that I can? That's a strong statement. Binary file formats are not difficult. Writing code that does the right thing is also not difficult. I am opposed to the blind use of libraries like this. Developers need to understand what they're doing and how what they're doing is being done at a reasonably low level if they ever hope to become better developers. Masking it all away behind a third party library is not how you understand the code that's running on your systems.
- bufferoverflow 7y agoHow about you write a simple binary substitute that covers just the standard JSON (number, string, true, false, null, array, object), see how you do compared to the existing JSON serializeres / deserializers and MsgPack.