Comment

Comment by maltalex

JSON loses its appeal once you're not targeting browsers and/or anything else that uses Javascript. Sure, it's simple and familiar, but it has serious drawbacks such as the time and CPU resources it takes for parsing and the lack of schema.

For those of you interested, I suggest using Google's protobufs or even full blown gRPC for such endeavors.

See discussion about gRPC here: https://news.ycombinator.com/item?id=12344995

Protobufs: https://developers.google.com/protocol-buffers/

parent maltalex 9 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton