Tuesday, February 6, 2018

Serialization on macOS and iOS: Speed and Size

Dirk Holtwick:

Overall for my personal purposes JSON and MessagePack seem to be the most appropriate ones. I was very positively surprised of the JSON results. MessagePack as the clear winner in the size comparison is probably the best choice for the projects I'm working on.

I was very disappointed of KeyedArchiver, which I previously expected to be in the top field. If not required for Apple OS specific purposes it really does not make sense to use any of those proprietary formats anymore.

I like the old, deprecated NSArchiver. It scales much better than NSKeyedArchiver.

Comments RSS · Twitter

Leave a Comment