Campfyre
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
snaggen@programming.dev to Rust@programming.devEnglish · 2 years ago

In Rust 1.73.0, it'll be easier to use thread_local Cells and RefCells

hachyderm.io

external-link
message-square
3
fedilink
37
external-link

In Rust 1.73.0, it'll be easier to use thread_local Cells and RefCells

hachyderm.io

snaggen@programming.dev to Rust@programming.devEnglish · 2 years ago
message-square
3
fedilink
Mara (@[email protected])
hachyderm.io
external-link
Attached: 1 image 🦀 In #rustlang 1.73.0 (to be released on October 5th), it'll be easier to use thread_local Cells and RefCells: the set, get, replace, take, and with_borrow[_mut] methods will be directly available on the thread local, removing the need for the usual `.with(|_| …)` pattern: 1/2
  • darcy@sh.itjust.works
    link
    fedilink
    arrow-up
    4
    ·
    2 years ago

    spez?

    • Barbacamanitu@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      2 years ago

      Lol not a great name choice. Wish I would have thought of it though.

Rust@programming.dev

rust@programming.dev

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.

  • 17 users / day
  • 97 users / week
  • 370 users / month
  • 2.54K users / 6 months
  • 1 local subscriber
  • 7.34K subscribers
  • 994 Posts
  • 4.48K Comments
  • Modlog
  • mods:
  • snowe@programming.dev
  • Ategon@programming.dev
  • EdTheLegendary@programming.dev
  • kahnclusions@programming.dev
  • torcherist@programming.dev
  • BE: 0.19.7
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org