Re:Strict APIs vs. Forgiving APIs
by remus on Wednesday October 28, 2020 @03:00PM
(#24922768)
2038 called, they'd like to talk.
[ Parent
| on HN ]
Javascript numbers (as in JSON) can safely represent integers much higher than a 32 bit integer.
Ha! Almost. You can get slight rounding errors at nanosecond resolutions, so be aware of this if you're using Go's time.Time internally and convert it to/from float64 seconds since Unix epoch.