75
submitted 12 hours ago by GaveUp@hexbear.net to c/technology@hexbear.net

Rust lobbyists winning

you are viewing a single comment's thread
view the rest of the comments
[-] toys_are_back_in_town@hexbear.net 7 points 3 hours ago

I hope you're joking. This mindset has had terrible consequences, such macho bullshit needs to go.

The Zionazis will find your mistakes before you do. So have the computer check your work as much as possible.

[-] kleeon@hexbear.net 2 points 3 hours ago

I am mostly joking but rust is quite annoying and is only useful in very specific circumstances. I'm not against encouraging people to use better designed languages than C though

[-] someone@hexbear.net 4 points 1 hour ago

If you're looking to write the types of server daemons often written in C, Go is another good choice. It's very C-like in its syntax. It has a lot of the same safety features Rust has but isn't nearly as complex to learn. It also has a huge standard library, so you rarely need to rely on third-party code.

Go isn't too suitable for drivers or kernels or other kinds of system software though. Rust is definitely a better choice for those.

[-] kleeon@hexbear.net 2 points 1 hour ago

Yeah I've been using Go a lot lately. It's pretty good

[-] toys_are_back_in_town@hexbear.net 3 points 2 hours ago

rust is quite annoying

skill issue

and is only useful in very specific circumstances

huh? about the only place I can't use rust is on microcontrollers, and it's kind of a pain in the dick on mobile (just use kotlin lol)

[-] TrashGoblin@hexbear.net 3 points 2 hours ago

Just because you can, doesn't mean you should. For application code, it's almost always better to use a language with garbage collection, in order to get memory safety without undue ceremony. Yes, some gc-ed languages are slow (Python, Ruby), but others are quite fast (JVM, .NET, Common Lisp, Haskell).

[-] kleeon@hexbear.net 3 points 2 hours ago

skill issue

Most rust programmers don't know how to implement a linked list

this post was submitted on 08 Nov 2024
75 points (100.0% liked)

technology

23277 readers
170 users here now

On the road to fully automated luxury gay space communism.

Spreading Linux propaganda since 2020

Rules:

founded 4 years ago
MODERATORS