GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Anupam 《ミ》λ≡ (haskman@functional.cafe)'s status on Tuesday, 22-Nov-2022 17:45:43 JST Anupam 《ミ》λ≡ Anupam 《ミ》λ≡

    Coming from a #Haskell background, I'm very sad that #Rust makes it so hard to avoid mutable references.

    I don't want to mutate things in place, I want to write functions that consume their arguments and then return an entirely newly constructed result, but that will often land you in trouble in Rust. This is not about performance, I mean you will find it difficult to even structure your programs.

    For example, there's an entire cottage industry of *solutions* around updating a mutable value wholesale, i.e. where you compute the replacement by consuming the original value.

    In conversation Tuesday, 22-Nov-2022 17:45:43 JST from functional.cafe permalink

    Feeds

    • Activity Streams
    • RSS 2.0
    • Atom
    • Help
    • About
    • FAQ
    • TOS
    • Privacy
    • Source
    • Version
    • Contact

    GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

    Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.