This is how I feel about C pointers. Partly I just get it, and partly I learned it so long ago that I don't really remember if it was hard. I can't say the borrow checker has been easy, starting out. But I program by trying things, not by making it correct up front.
-
-
-
If you're /not/ someone who programs like that, I can see how it'd be frustrating. More so in the days before inferred result lifetimes, though. See also:https://twitter.com/daniel_dunbar/status/1187062810628382721 …
- 2 more replies
New conversation -
-
-
the one & only case i've seen of outright announced _failure_ i've seen is a Wayland desktop window manager Way-Cooler, who gave up after feeling constraints were irreconcileable. my heart yearns for smart folks to convene & follow up on this one. http://way-cooler.org/blog/2019/04/29/rewriting-way-cooler-in-c.html …
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
That just means you’re used to thinking about ownership in C/C++. Rust ownership is also very natural to me, but many play hard and fast with ownership in other languages.
-
Also I think it depends on what kind of work you do atm. Rust is not great for exploratory coding.
- 1 more reply
New conversation -
-
-
I've had issues with the BCK twice: - when starting with Rust, that I regard as a switch of mindset vs GC'd languages - when implementing a polymorphic trie, that I regard as being too "clever" for my own good
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Mostly the hardest thing I wrote with the borrow checker was a strict using three separate lifetimes. But it took me 5 minutes to get how the lifetimes should be expressed.
-
My first issue with the borrow checker was when I wanted to "give a pointer to a struct which implements a certain trait", then learned about trait objects, then used lifetimes, & wanted to use it outside of the scope. Then I fell in love with Rust

- 4 more replies
New conversation -
-
-
How does it even work to think about it before you start?
-
Are people thinking as if writing C/C++?
- 5 more replies
New conversation -
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.
I wish I'd understood sooner the importance of communicating in a form others understand.