this post was submitted on 15 Nov 2024
1 points (100.0% liked)

Programming

2 readers
2 users here now

A magazine created for the discussion of computer programming-related topics.

Rules

Please keep submissions on topic and of high quality. No image posts, no memes, no politics. Keep the magazine focused on programming topics not general computing topics. Direct links to app demos (unrelated to programming) will be removed. No surveys.

founded 1 year ago
MODERATORS
 

Poll: Which of these features of Rust is most appealing to you?

#rustlang #programming

top 13 comments
sorted by: hot top controversial new old
[–] tdelmas@mamot.fr 1 points 10 hours ago

@nixCraft@mastodon.social speed.

[–] geobomatic@piaille.fr 1 points 1 day ago

@nixCraft@mastodon.social tooling

[–] etam@im-in.space 1 points 1 day ago

@nixCraft@mastodon.social

  1. Type system
  2. Destructors instead of garbage collector
  3. Cargo tool, which implements building, package management and running tests.
[–] mo8it@fosstodon.org 1 points 1 day ago

@nixCraft@mastodon.social + Performance

[–] mike_k@mstdn.social 1 points 1 day ago

@nixCraft@mastodon.social other = the lack of a corporate overlord.

[–] ilyhanshi@mastodon.social 1 points 1 day ago

@nixCraft@mastodon.social the karen compiler

[–] arendjr@mstdn.social 1 points 1 day ago

@nixCraft@mastodon.social Too late I discovered this was multiple choice. Both the type safety and the memory safety appeal to me. But then again, if something isn’t truly memory safe, you can at least argue about its safety as well, isn’t it?

The real thing about #Rust is that it lets me be productive. That may sound counterintuitive for a language with so many rules. But I think of what I want and think of the rules to enforce that. Rust lets me have it that way and corrects me when I’m off.

[–] rkaj@mastodon.nu 1 points 1 day ago

@nixCraft@mastodon.social

  • The simplicity and ease of use (yes, I hear may people complain that rust is too hard, but after nearly 40 years of programming in c, c++, java, perl, python, javascript and a bunch of other languages, I think Rust is by far the easiest).

  • The expressiveness of the type system. Rather than "catch-all" big state, and keeping track of which part are initialized, I can have different types.

  • Honorary mention: The mutexes and connection pools.

[–] fnxweb@mastodon.social 1 points 1 day ago

@nixCraft@mastodon.social You think Rust appeals to me?

[–] BoscoZebra@mastodon.social 1 points 1 day ago

@nixCraft@mastodon.social I really like the fact that the program language is named rust. I always hear that and imagine the programmer in some naked guy beating a bird to death on a beach somewhere with big rock while shout “I’m friendly!”

[–] slyecho@mdon.ee 1 points 1 day ago

@nixCraft@mastodon.social I think the sense of superiority

[–] aligorith@mastodon.nz 1 points 1 day ago

@nixCraft@mastodon.social
Originally, what drew me most to Rust I guess were (in following order):

  1. Complex compiled language with momentum that was not C++ (back when I was still mostly a C/Python dev... now, it just looks like Haskell for Modern C++ devs)

  2. Claims of speed + memory safety (esp around multithread type stuff - a big one coming from several bad Python codebases that struggle with concurrency issues)

  3. Didn't have "cuddled else" / "caterpillar ifs" hard coded into the syntax (cough Go)

[–] coldfish@sfba.social 1 points 1 day ago

@nixCraft@mastodon.social I took my first Rust course yesterday.

yuck. 20yrs of programming - this is a major pain in the ass.

I hope it gets easier