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
bot
So you want to live-reload Rust - fasterthanli.me. Good morning! It is still 2020, and the world is literally on fire , so I guess we c...
New
AstonJ
Just discovered Fika - looks pretty neat! fn sum(a: Int, b: Int) : Float do a + b end I quite like the syntax, though would probably ...
New
AstonJ
Inspired by this post by @stefan.jarina, I’m curious about the kind of Bash scripts you’ve written and whether you still use Bash given t...
New
First poster: bot
proposal: Go 2: permit types to say they may only be created by containing package · Issue #43123 · golang/go. It would be useful to per...
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
Cellane
I’ve been asked by my supervisors at work to finally give everyone in the team presentation about “that Elixir thing you can’t seem to sh...
New
mafinar
This is going to be a long an frequently posted thread. While talking to a friend of mine who has taken data structure and algorithm cou...
New
Reinis
I’ve been diving into Bridgetown (a Jekyll successor) and learning about writing a more maintainable CSS.
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
Machine learning can be intimidating, with its reliance on math and algorithms that most programmers don't encounter in their regular wor...
New
AstonJ
poll poll Be sure to check out @Dusty’s article posted here: An Introduction to Alternative Keyboard Layouts It’s one of the best write-...
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
Thanks to @foxtrottwist’s and @Tomas’s posts in this thread: Poll: Which code editor do you use? I bought Onivim! :nerd_face: https://on...
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
PragmaticBookshelf
Author Spotlight: Peter Ullrich @PJUllrich Data is at the core of every business, but it is useless if nobody can access and analyze ...
New
New
New
mindriot
Ok, well here are some thoughts and opinions on some of the ergonomic keyboards I have, I guess like mini review of each that I use enoug...
New