Allocating memory from the heap and using mutable state sure are both very convenient though
-
-
-
@bascule Shouldn’t RAII make heap allocations less of an issue? -
@jimmycuadra the whole raison d’etre of RAII is use the stack -
@bascule Hmm, I must read more.., -
@jimmycuadra Rust’s lifetime system is what makes heap allocations pretty cool, albeit slower thatn zero-allocation. “Smart-pointers” -
@bascule My understanding was that Rust's special sauce for heap memory is that it's auto-freed when it goes out of scope, without GC. - End of conversation
New conversation -
-
-
@bascule they should have made creating a box look ugly, making you feel like you were scratching a blackboard. Would think twice to go heapThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@bascule Every time someone says this, a Mozillan gets their foxtail.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.