this post was submitted on 01 Apr 2024
240 points (93.2% liked)

Programmer Humor

19548 readers
1009 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
 
all 33 comments
sorted by: hot top controversial new old
[–] [email protected] 26 points 7 months ago (9 children)

Ah yes, the rust zealots shitting on one of the most important languages of all time... again.

Kinda weird how the number one way to promote Rust has been to downplay C and others.

[–] [email protected] 0 points 7 months ago

Word, Rust shills are the most annoying and shitting of the programming language zealots I've seen since the Java Enterprise shilling of the early 200xs. WHat's worse, their memes aren't even good, unlike the JS memes.

[–] [email protected] 3 points 7 months ago (1 children)
[–] [email protected] 3 points 7 months ago

Lol if this is a joke on C and senile... Haha well done.

[–] [email protected] 7 points 7 months ago* (last edited 7 months ago)

That's because Rust solves lots of issues caused by C, of course they are going to twist that knife and use it as a selling points. Humour is not bad, I've done lots of C and C++ and am not bothered a bit by it.

It doesn't reduce the importance of the language at all, just sheds some light on safer languages, Rust or not.

[–] [email protected] 13 points 7 months ago

The specifics of C's design could barely be less important. In the 70s it was one of countless ALGOL derivatives churned out on-demand to support R&D projects like Unix.

Unix succeeded, but it could have been written in any of these languages. The C design process was governed by the difficulty of compiler implementation; everyone was copying ALGOL 68 but some of the features took too long to implement. If Dennis Ritchie had an extra free weekend in 1972, C might have a module system. But he didn't, so it doesn't.

[–] [email protected] 6 points 7 months ago

Honestly, as a Rust Zealot, I'm much more excited about Zig as a C killer than Rust.

[–] [email protected] 29 points 7 months ago* (last edited 7 months ago)

I really didnt put all that thought into it when I posted this (certainly wasn't looking to evangelize Rust). It was mildly amusing (memory safety came to mind) and I needed a title somewhat related to the meme was really all there was to it.

[–] [email protected] 26 points 7 months ago

I believe, this post is primarily shitting on C and only mentioning Rust at the side.

[–] [email protected] 11 points 7 months ago (1 children)

Okay grandpa, back to bed.

[–] [email protected] 44 points 7 months ago (1 children)

How exactly do you promote anything without saying "it's better than the competition" in some way?

What else can you say about a programming language? There's literally not a single point where a feature is not a comparison to the rest of the languages. There's exactly one actual barrier: turing completeness. And that bar is so low, even Excel gets over it.

[–] [email protected] 4 points 7 months ago

Also rust interacts through C Abi with most stuff. So C is still important for it.

[–] [email protected] 28 points 7 months ago (1 children)

I mean you're not wrong but I'd argue you can get more interesting cve's using a higher more performant language such as c++. Where there are are ways to include CVE 's from C and introduce new ones to each level of your program using inheritance.

[–] [email protected] 6 points 7 months ago (1 children)

Here is the thing. Everybody, including attackers, is too overwhelmed with the boring variety of CVEs and unable to even think about the more interesting kind.

As soon as we make people stop generating those boring ones by the millions, our days will be way more interesting while we find and fix more complex CVEs. But anyway, those will also be way more common on C and C++ code than most other languages (maybe with an exception for JS).

[–] [email protected] 1 points 7 months ago* (last edited 7 months ago)

We can call them CCVE's! Critical CVE's.

EDIT: Oh, nevermind. I've forgotten that it's using CVSS, which has a tendency to really overestimate the risk, so almost everyting is CCVE according to them :D