DEV Community

Discussion on: Have you tried Rust?

Collapse
 
dfockler profile image
Dan Fockler

Yes, I have. I've been using it off and on since about 2015. I haven't used it professionally, but I really enjoy it. Coming from a Ruby background it feels nice to not have to add types to everything. It feels close to the metal, but also has well thought out abstractions and language constructs that make it easier to write clean code.

Like others have said, it has a learning curve, but once you get your bearings with the borrow checker it's easier to continue learning. I haven't dug into anything very complex like multi-threading or async though so who knows. Overall it's a very fun and approachable language for systems-level programming.

Collapse
 
jsjoeio profile image
Joe Previte (he/him)

What do you think would help ease the learning curve?

Collapse
 
dfockler profile image
Dan Fockler

I'm not sure there is. I think reading the Rust book helps a lot. Rust has complicated parts for a reason, so it helps if you understand those reasons before you start banging your head against a wall. For example, how Rust handles strings is complex because UTF characters aren't just fixed width bytes and it forces you deal with those complexities.