172
you are viewing a single comment's thread
view the rest of the comments
[-] CanadaPlus@futurology.today 17 points 2 days ago* (last edited 2 days ago)

Yeah, Rust is simply the big one right now. It could just as easily apply to people in the 1960's who didn't want to adopt structured programming, or a compiler at all.

[-] ZILtoid1991@lemmy.world 5 points 2 days ago

I personally prefer the memory safety tools offered by D over Rust. D also doesn't come with const by default, and you can even opt out of the RAII stuff a certain graphics driver developer boasted about in the Linux developer mailings (RAII can be a bad for optimization).

[-] CanadaPlus@futurology.today 9 points 2 days ago

I feel like this has come up before, and D is not memory safe. It has some helper-type features, but at the end of the day it is still C-like.

[-] ZILtoid1991@lemmy.world 3 points 2 days ago

Not if you opt in it. You can even put @safe: in the beginning of your D source code, then you'll have a memory safe D (you have to opt out by using @trusted then @system).

[-] CanadaPlus@futurology.today 5 points 1 day ago* (last edited 1 day ago)

Alright, I'll actually dive into the research again...

Oh, I see, D is garbage collected, so really it's more like Java or Python. Maybe that's what I'm remembering. Also, @safe code sounds like it's pretty limited - far more limited than non-unsafe Rust.

Basically, if a language had been Rust before Rust showed up, Rust would have been a non-event. They solved a problem that was legitimately open at the time.

this post was submitted on 05 Nov 2024
172 points (91.3% liked)

Programmer Humor

19488 readers
642 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS