Re:MessagePack: like JSON, but fast and small
by nitrogen on Tuesday March 10, 2020 @04:30PM
(#22539357)
Epoch floats and doubles are not good for timestamps, as the further we get from 1970 the less precise they become.
Current precision with a 32-bit float (JSON/JavaScript are 64-bit usually, though in non-JS it's common to use Bigdecimal in slight non-compliance) is much worse than one second.
Current precision with a 32-bit float (JSON/JavaScript are 64-bit usually, though in non-JS it's common to use Bigdecimal in slight non-compliance) is much worse than one second.