flabberghaster
Submitted by flabberghaster in just_post
Submitted by flabberghaster in just_post
Submitted by flabberghaster in just_post
Submitted by flabberghaster in just_post
Submitted by flabberghaster in just_post
Submitted by flabberghaster in just_post
Submitted by flabberghaster in just_post
Submitted by flabberghaster in just_post
Submitted by flabberghaster in just_post
Submitted by flabberghaster in just_post
flabberghaster wrote
Reply to learning rust is fun. disappointed to say i am now one of those insufferable rust people by twovests
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
andSend
traits for sharing an object in a multithreaded context. I can do it withArc
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.