5 ms·
This looks like a cool library. Does anyone know why burntsushi is making this new library? I haven't messed around with times in rust much, but do the existin
by mijoharas 2y ago
This looks like a cool library.
Does anyone know why burntsushi is making this new library? I haven't messed around with times in rust much, but do the existing libraries have performance problems? Or are the existing API's awkward to use? Or is he just doing it for fun, or some other reason?
- richrichie 2y ago[flagged]
- Sharlin 2y agoLinked from the readme: https://github.com/BurntSushi/jiff/blob/master/DESIGN.md https://github.com/BurntSushi/jiff/blob/master/DESIGN.md https://github.com/BurntSushi/jiff/blob/master/COMPARE.md https://github.com/BurntSushi/jiff/blob/master/COMPARE.md TLDR: API and IANA timezone support primarily.
- tikkabhuna 2y agoIn Java they had the same problem. The Java standard library implementation wasn't great, Jodatime came along to address those issues. Java 8 then introduced a new DateTime API that was heavily influenced by Jodatime with the benefit that as it is in the standard library, it can be more heavily adopted by library-writers. https://www.joda.org/joda-time/ https://www.joda.org/joda-time/ https://www.baeldung.com/java-8-date-time-intro https://www.baeldung.com/java-8-date-time-intro
- WorldMaker 2y agoThere's an additional related stepping stone here (as it is name dropped in the library's design document as well) in that TC-39 has been hard at work on a proposal to standardize similar APIs into EcmaScript (JS) called Temporal: https://tc39.es/proposal-temporal/docs/ https://tc39.es/proposal-temporal/docs/ Temporal benefits from the JodaTime/Java 8+ date work, but also includes more recent IETF and IANA standards as other influences.