this post was submitted on 08 Jun 2025
617 points (97.5% liked)

Programmer Humor

23955 readers
2157 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 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Rednax@lemmy.world 7 points 13 hours ago (4 children)

I mean, at the end of the day, if you really understand your language of choice, you know that it is jusf a bunch of fancy libraries and compiler tricks of top of C. So in my mind, I'm a fully evolved programmer in a language, when I could write anything I can write in that language in C instead.

[–] umbraroze@piefed.social 4 points 3 hours ago

Or, rather, most compiled languages are just syntactic sugar on top of assembly, and that's especially true with C. (Oh, you can use curly brances and stuff for blocks? That's sure easier to read than the label mess you get with assembly.)

[–] lime@feddit.nu 15 points 13 hours ago (1 children)

only true if your language compiles to c. fortran peeps are safe.

[–] ouRKaoS@lemmy.today 4 points 12 hours ago (1 children)

I'm an 80's/90's BASIC bitch, so I'm still irrelevant!

[–] WhiskyTangoFoxtrot@lemmy.world 2 points 8 hours ago
10 PRINT "FARTS"    
20 GOTO 10
[–] nialv7@lemmy.world 7 points 11 hours ago (2 children)

It's not what you can use that language to do - all general purpose languages are Turing Complete, so what you can do with them is exactly equal. It is about what the language will do for you. Rust compiler will stop you from writing memory unsafe code, C compiler cannot do that.

[–] qjkxbmwvz@startrek.website 4 points 11 hours ago

...are Turing Complete, so what you can do with them is exactly equal.

But they're only equal in the Turing complete sense, which (iirc) says nothing about performance or timing.

[–] Rednax@lemmy.world 3 points 11 hours ago

But how does the Rust compiler do that? What does it actually check? Could I write a compiler in C that does this check on a piece of Rust code?

C is so simplictic, that if I can write a piece of functionality in C, I must understand its inner workings fully. Not just how to use the feature, but how the feature works under the hood.

It is often pointless to actually implement the feature in C, since the feature already has a good implementation (see the Rust compiler for the memory safety). But understanding these features, and being able to mentally think about what it takes in C to implement them, is still helpfull for gaining an understanding of the feature.

[–] JackbyDev@programming.dev 3 points 12 hours ago

I mean, yeah, most languages are turing complete.