jaycruz,
@jaycruz@fosstodon.org avatar

This is a 48 minute long article that's critical of the Rust hype train vs C/C++. The TLDR is that while security is a problem, the Rust vs C choice as the only choice for low-level systems programming is a “non choice”. The author states that Go is a perfectly fine choice. https://medium.com/

#c

laund,
@laund@hachyderm.io avatar

@jaycruz I'll freely admit i've only read a few sections in this article (its really long), but while it seems to be written by someone with lots of experience it seems to be colored by a very specific perspective. i would never state Zig is easier to learn than Rust (imo it suffers from the exponential complexity problem which Rust avoids at the cost of a steep upfront learning curve)

It also fails to consider that "just doing things people will find easy" is exactly how we got into this mess

laund,
@laund@hachyderm.io avatar

@jaycruz example re: "do you need performance"

yes. IMO the fact that program inefficiency grows directly related with available performance is an issue, and i dont understand how it could be seen as not being one. now granted, Rust wont suddenly fix that (cough Tauri) but at least its a step in the right direction.

The article takes a very "dont make programming harder" POV where i think thats exactly what needs to happen to make meaningful progress

dcz,
@dcz@fosstodon.org avatar

@jaycruz I think the article makes a great observation: you always want a memory-safe language rather than C. But that language doesn't always need to be Rust. (The software I'm dealing with right now is in C, but it would not be much better in Rust. It really needs Python.)

Still, Rust's hype train doesn't revolve around the idea that it should replace all C/C++ code, but that it's the closest language which can replace the most low-level use cases of C.

aoanla,
@aoanla@hachyderm.io avatar

@dcz @jaycruz yeah, I think it's important to be nuanced on this
As someone who really wanted Go to be the "safe C for low-level", I think you're right that the Rust argument is specifically that it can replace C for those things that used to be C/C++'s sole domain. The wider hype is just a consequence of C++'s domain of application IRL being wider than that - and people (inappropriately?) mapping that to Rust - not that Rust is worse than C/C++ in those areas, but it's also not the best

  • All
  • Subscribed
  • Moderated
  • Favorites
  • rust
  • ngwrru68w68
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • megavids
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • provamag3
  • JUstTest
  • All magazines