Comments
twovests OP wrote
I love it because it has so much useful stuff by default. It's almost as dense as Python (in terms of functionality-per-character) but super fast. The datastructures (vec! and HashMap) give you nearly the same powers as a Python list or dict.
I feel more "disconnected" from the metal than with writing C, but like, I write Python so that's not a problem for me. The syntax is weird but growing on me.
flabberghaster wrote
I have been messing with it too and I like a lot of the features, but it can be extremely frustrating coming from a C background where it just lets you do whatever. "I know this is safe but the compiler won't let me do it >:("
In particular i'm having problems figuring out how to work with Sync
and Send
traits for sharing an object in a multithreaded context. I can do it with Arc
but I wrote the object to be thread safe and I cannot for the life of me figure out how to make it let me share it.
___ wrote (edited )
the only thing about rust that bugs me are the standard library naming conventions
everything is abbreviated for no reason and it feels really inconsistent lol
it reminds me of C back when functions had a name limit of around 8 characters and we ended up with stuff like asctime
and strxfrm
and strpbrk
. not quite as awful and you do get used to it but, idk
nomorepie wrote
*rust cohle from true detective season 1
musou wrote
the syntax bugs me but the semantics are really cool! i should get back into it