Zenny
  • Communities
  • Create Post
  • 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
link
fedilink
36
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
link
fedilink
Mara (@Mara@hachyderm.io)
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
  • 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: !rust@programming.dev

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

Wormhole

!performance@programming.dev

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.

  • 19 users / day
  • 178 users / week
  • 376 users / month
  • 167 users / 6 months
  • 1 local subscriber
  • 5.35K subscribers
  • 696 Posts
  • 2.52K Comments
  • Modlog
  • mods:
  • snowe@programming.dev
  • Ategon@programming.dev
  • EdTheLegendary@programming.dev
  • kahnclusions@programming.dev
  • torcherist@programming.dev
  • UI: unknown version
  • BE: 0.19.11
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org