programming.dev
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
burntsushi to RustEnglish · 10 months ago

Jiff is a new date-time library for Rust that encourages you to jump into the pit of success

github.com

external-link
message-square
27
link
fedilink
  • cross-posted to:
  • [email protected]
98
external-link

Jiff is a new date-time library for Rust that encourages you to jump into the pit of success

github.com

burntsushi to RustEnglish · 10 months ago
message-square
27
link
fedilink
  • cross-posted to:
  • [email protected]
GitHub - BurntSushi/jiff: A date-time library for Rust that encourages you to jump into the pit of success.
github.com
external-link
A date-time library for Rust that encourages you to jump into the pit of success. - BurntSushi/jiff
  • Comparison with other Rust datetime crates
  • Why build another datetime library?
  • Why not contribute to an existing library instead of building a new one?
  • burntsushiOP
    link
    fedilink
    English
    arrow-up
    2
    ·
    10 months ago

    OK, I’ve beefed that example up a little bit: https://github.com/BurntSushi/jiff/commit/08dfdde204c739e38147faf70b648e2d417d1c2e

    I think the comparison is a bit more muddied now and probably worse overall to be honest. Maybe removing DateTime<Local> is the right thing to do. I’ll think on it.

    It’s a subtle comparison to make… Probably most people don’t even realize that they’re doing the wrong thing.

Rust

rust

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

[email protected]

Credits
  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 63 users / day
  • 177 users / week
  • 404 users / month
  • 2.91K users / 6 months
  • 1.47K local subscribers
  • 6.89K subscribers
  • 992 Posts
  • 4.69K Comments
  • Modlog
  • mods:
  • snowe
  • Ategon
  • EdTheLegendary
  • kahnclusions
  • torcherist
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org