Pricefield | Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@[email protected] to [email protected]English • 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

@[email protected] to [email protected]English • 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
    link
    fedilink
    4•2 years ago

    spez?

    • @[email protected]
      link
      fedilink
      2•2 years ago

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

[email protected]

[email protected]
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)
  • 5 users / day
  • 12 users / week
  • 55 users / month
  • 345 users / 6 months
  • 2 subscribers
  • 972 Posts
  • 4.59K Comments
  • Modlog
  • mods:
  • snowe
  • Ategon
  • EdTheLegendary
  • @[email protected]
  • @[email protected]
  • UI: 0.18.4
  • BE: 0.18.2
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org