• @o11c
    link
    English
    71 year ago

    What you are missing, of course, is the Rc<Refcell<T>> that you have to stick everywhere to make a nontrivial Rust program. It’s like monads in Haskell, parentheses in lisp, verbosity in Java, or warnings in C - they’re the magic words you have to incant correctly to make things work in their weird paradigms.

    • @lavafroth
      link
      English
      2
      edit-2
      1 year ago

      Or an Arc<Mutex<T>> if dealing with threads.