News for hackers. Stuff that matters.
Re:How Turborepo is porting from Go to Rust by adameasterling on Friday July 21, 2023 @11:59AM (#36815404)
A few months ago, I did some analysis on JSON data in our platform, and discovered that more than two-thirds of bytes were field names. Two thirds! That’s a lot of potentially unnecessary extra bytes.

In my case, I was thinking about storage costs for JSON data; but thinking about this use case: Isn’t it true that the CPU would have to spend basically three times as much time making FFI calls? Assuming that practically speaking, field names make up 2/3rds of the bytes in their real-world JSON data.

Re:How Turborepo is porting from Go to Rust by evntdrvn on Friday July 21, 2023 @12:29PM (#36815848)
JSON compresses very well, fortunately