AstonJ

AstonJ

What do you like about Rust?

I’ve seen more and more people get into Rust recently, so thought it would be cool to have a thread for people to share what they like about it :nerd_face:

Its portal has also just gone up :+1:

Most Liked

lpil

lpil

Creator of Gleam

I’m a big Rust fan! My favourite features are:

  • It compiles to native
  • It’s really fast
  • It has excellent tooling
  • The type system makes refactoring really easy
  • The error messages are precise and contain a lot of detail
Qqwy

Qqwy

One thing I really like that some other people dislike is that there are no implicit conversions between datastructures. I like it a lot because implicit conversions have bitten me many times while writing C/C++.

OvermindDL1

OvermindDL1

Entirely agree. Automatic conversions just means things can convert in unexpected ways. Actual calls are more reliable, especially for maintainability.

And yep, all of this.

The big thing is the Ownership Validation, it just outright removes entire classes of bugs from even having a chance of happening in safe Rust code! In addition it helps enforce a ‘one true way’ for writing fast code. The slower the code runs the longer it tends to be. The shortest way tends to be the fastest because of that.

Where Next?

Popular Backend topics Top

AstonJ
Which server-side languages are you most interested in right now? Anything new or relatively new that’s caught your eye? Maybe an older l...
New
bot
A new item has been posted: This thread was posted automatically, if you feel it could be in a better category and are at Trust Level ...
New
New
New
CommunityNews
The Magic of Python Context Managers. Recipes for using and creating awesome Python context managers, that will make your code more read...
New
finner
Just wondering how many devs out there are using Spring Reactive, specifically WebFlux?
New
finner
I’ve never really felt 100% comfortable using the enum type because of my lack of understanding how it is constructed . . . . . . until ...
New
Jsdr3398
I just thought of this. Are there any disadvantages when making your server in Assembly (other than having to learn a bunch of stuff :ro...
New
New
apoorv-2204
I’m experimenting with Hexagonal / Clean Architecture in Elixir. The classic Behaviour + Impl split works great for mocking and isolating...
New

Other popular topics Top

PragmaticBookshelf
Ruby, Io, Prolog, Scala, Erlang, Clojure, Haskell. With Seven Languages in Seven Weeks, by Bruce A. Tate, you’ll go beyond the syntax—and...
New
PragmaticBookshelf
Write Elixir tests that you can be proud of. Dive into Elixir’s test philosophy and gain mastery over the terminology and concepts that u...
New
Exadra37
Please tell us what is your preferred monitor setup for programming(not gaming) and why you have chosen it. Does your monitor have eye p...
New
DevotionGeo
I know that -t flag is used along with -i flag for getting an interactive shell. But I cannot digest what the man page for docker run com...
New
AstonJ
There’s a whole world of custom keycaps out there that I didn’t know existed! Check out all of our Keycaps threads here: https://forum....
New
AstonJ
I’ve been hearing quite a lot of comments relating to the sound of a keyboard, with one of the most desirable of these called ‘thock’, he...
New
Margaret
Hello everyone! This thread is to tell you about what authors from The Pragmatic Bookshelf are writing on Medium.
1147 29994 760
New
New
Help
I am trying to crate a game for the Nintendo switch, I wanted to use Java as I am comfortable with that programming language. Can you use...
New
New