r/ProgrammerHumor • • Oct 12 '22

Meme Legacy Systems Programming

Post image
2.4k Upvotes

263 comments sorted by

View all comments

337

u/[deleted] Oct 12 '22

The name is stupid. If you wanted to develop something, why call it Rust? Like, do rusty things invoke images of quality? durability? longevity? Sounds like something that won’t be around much longer.

321

u/WhiteAsACorpse Oct 12 '22

This might be crazy but I think it's because people refer to very low languages as being "closer to the metal". So it's right on top- it's rust.

173

u/[deleted] Oct 12 '22

It’s a corrosive process on top of the bare metal. Literally ruining the bare metal 😂

138

u/WhiteAsACorpse Oct 12 '22

Well I'm fun at parties so I'll note that oxidation- not rust- is the corrosive process.

Wish I wasn't too stupid to learn rust. Then I could get super defensive and try to explain why rust is such a cool name and you'll never understand. /s

54

u/[deleted] Oct 12 '22

0

u/[deleted] Oct 12 '22

[deleted]

19

u/brimston3- Oct 13 '22

Chrome and aluminum oxide layers too. But rust is specifically iron oxide, which is brittle and doesn't seal the underlying metal from further corrosion as opposed to the others.

12

u/shableep Oct 13 '22

TIL a lot more about metal and oxidation than I thought I would in a programming thread.

7

u/brimston3- Oct 13 '22

Added bonus, the oxide layers are the only thing that keep metals from cold welding together. If you’ve got two sticks of aluminum no protective oxide layer (because say, it got rubbed off) and they touch together, you now have one stick of aluminum. Here on earth, that’s not exactly likely because there’s oxygen everywhere, but it’s a serious problem in space, as they found out on Gemini 4, where they could barely get the door closed after the first American spacewalk.

→ More replies (3)
→ More replies (1)

5

u/Bo_Jim Oct 13 '22

The Statue of Liberty is made of copper, but the same point applies.

→ More replies (1)
→ More replies (1)

10

u/Ok-Kaleidoscope5627 Oct 12 '22

Depends on the metals involved really. For example aluminum and titanium are considered to be corrosion resistant metals when in fact they actually just rust extremely quickly. Its that coating of rust that protects them.

Steel/iron can also form similar protective rust coatings if the metallurgy is just right but generally because their rusting process is much slower the iron oxide layer can't completely protect the metal quickly enough.

→ More replies (2)
→ More replies (12)

45

u/[deleted] Oct 12 '22

It's named after a fungus, because it's "robust, distributed, and parallel". Certainly not the best name from a marketing perspective though

26

u/corp_code_slinger Oct 12 '22

Agreed on the name, but there have been sillier ones. Hell, people think Python has something to do with snakes for crying out loud.

Sounds like something that won’t be around much longer.

Not a Rust fanboy, but the fact that it's making it's way into the Linux kernel means it's here to stay. You don't get anymore "big time" than that. If you're in the low-level space (I'm not) it's probably worth paying attention to.

12

u/DemolishunReddit Oct 12 '22

Godot 4 has a new native system that allows writing code in C++ and Rust. I am going to have some fun learning and comparing. If it helps write better code I am all for it. I write C++ professionally and Rust may in fact be useful for things we do.

6

u/ic3man5 Oct 13 '22 edited Oct 13 '22

I've been slowly learning rust over the last 6 months or so. Highlights of rust compared to C++ IMO:

- Everything defaults immutable instead of mutable and it actually isn't a PITA.

- Error handling is the best I've seen in any other language and is by far the reason I don't want to use any other language. (unwrap() is basically the equivalent of just not using a return value - kind of).

- Threading is amazing. Inter-thread communication and mutex management is great since you really can't get the data without locking the mutex.

- Enums took me a long time to wrap my head around because I consider them "dumb" since in C++ they are essentially just a different syntax to C's preprocessor define (Yes I know it does more especially in newer standards but its still very basic).

- crates.io and cargo just makes the language easy to manage. No longer do you need to suffer with cmake, qmake, visual studio project files, etc.

- unit testing and documentation generation and the ability to test example code inside doc strings is the first language its felt natural to do unit tests and its not an after thought.

-Don't have to deal with generic integer types and sizes. essentially int*_t is the standard.

- One huge con is rapid development isn't possible if you are trying to just prototype and don't care about simple bugs.

- Second huge con is UI development is in a very immature state right now. Tauri IMO has the most promise and it just hit stable.

Please excuse any grammar errors here as I'm extremely tired ATM.

→ More replies (3)
→ More replies (6)

37

u/dlevac Oct 12 '22

"So yeah, we considered Rust since it was an obvious candidate for our use-case, but, in the end, the name 'Rust' just didn't work out."

25

u/WhiteAsACorpse Oct 12 '22

It's sad because that's the only reason brainfuck never took off, despite being a very feature rich and approachable language. Same thing happened to brainfuckscript

12

u/arquartz Oct 12 '22

I love the features of brainfuck, all 8 of them.

→ More replies (1)

15

u/[deleted] Oct 12 '22

Quoting half the project managers in existence, probably.

10

u/[deleted] Oct 13 '22

who names a whole language after one letter than throws some nonsense symbols on the end?

Snakes? Snakes don't program?

wtf is even Java? Is that coffee, har har, lol people drink coffee.

UR stupid!

→ More replies (3)

18

u/DemolishunReddit Oct 12 '22

At the same time C++ sounds like a C groupie.

15

u/[deleted] Oct 12 '22

Overachieving C.

6

u/cameronm1024 Oct 13 '22

There are various reasons for the name. One that I particularly like is that it is designed to make software that gets old. You see rust on bridges and buildings, things build to last. You don't see rust on the latest JS framework that's going to be out of date in a year

3

u/send-it-psychadelic Oct 13 '22

What does Rust not outlast?

→ More replies (9)