upvote
I don't agree that Java had the same problem. Java has had System.currentTimeMillis() since the beginning, and System.nanoTime() since 2005. Meanwhile, in Go, time.Now().Unix() performs a pointless timezone lookup and time.Since(foo) only uses the monotonic clock if foo has monotonic time, which is a hidden property of time.Time values that you can't interrogate.

Of course, Go can always backtrack and expose the primitives, and Rust can always add a higher-level API, but as user of the languages, I'd rather have the latter problem than the former. It doesn't help that Go's zoned-time API isn't very good either.

reply
The gold standard these days is JavaScript’s Temporal, which Jiff and java.time.temporal are descendants of.
reply
you are wrong on ancestry, java.time is descendant of joda-time and temporal the descendant of a js port of joda-time.
reply