awful.systems
  • 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
fedilink
38
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 (@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
  • darcy
    link
    fedilink
    4•2 years ago

    spez?

    • @Barbacamanitu@lemmy.world
      link
      fedilink
      2•2 years ago

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

Rust@programming.dev

!rust@programming.dev

remote_follow_modal_title

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)
  • 1 user / day
  • 29 users / week
  • 288 users / month
  • 2.47K users / 6 months
  • 7.15K subscribers
  • 918 Posts
  • 4K Comments
  • Modlog
  • mods:
  • snowe
  • Ategon
  • EdTheLegendary
  • @kahnclusions@programming.dev
  • @torcherist@programming.dev
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org