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

New
DevotionGeo
Some time ago I read somewhere that Rocket will work with stable versions of Rust. The previous version’s changelog says, “Core: Removed...
New
New
bot
Add sound to your Python game. This is part 13 in an ongoing series about creating video games in Python 3 using the Pygame module. Prev...
New
New
New
First poster: bot
This Python script mimics Babbage’s Difference Engine. In Use this Python script to simulate Babbage’s Difference Engine, Python offered...
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
mafinar
We always have fun in this forum around this time of the year, discussing the days’ (or yesterdays’) challenges and talking through solut...
New
Reinis
I’ve been diving into Bridgetown (a Jekyll successor) and learning about writing a more maintainable CSS.
New

Other popular topics Top

PragmaticBookshelf
Design and develop sophisticated 2D games that are as much fun to make as they are to play. From particle effects and pathfinding to soci...
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
In case anyone else is wondering why Ruby 3 doesn’t show when you do asdf list-all ruby :man_facepalming: do this first: asdf plugin-upd...
New
PragmaticBookshelf
Build highly interactive applications without ever leaving Elixir, the way the experts do. Let LiveView take care of performance, scalabi...
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
PragmaticBookshelf
Programming Ruby is the most complete book on Ruby, covering both the language itself and the standard library as well as commonly used t...
New
AstonJ
Curious what kind of results others are getting, I think actually prefer the 7B model to the 32B model, not only is it faster but the qua...
New
PragmaticBookshelf
A concise guide to MySQL 9 database administration, covering fundamental concepts, techniques, and best practices. Neil Smyth MySQL...
New
PragmaticBookshelf
This book forgoes the abstract and instead provides concrete examples to help you better leverage the unique properties of Elixir, Erlang...
New
PragmaticBookshelf
Write elegant Ruby code—not just correct, but idiomatic. Go beyond the vocabulary and syntax and learn to express yourself with eloquence...
New