45 points

Through long and weary travels,* I bring the gift of source preserved by the workers of the great archives: https://web.archive.org/web/20140831164530/http://bjorn.tipling.com/if-programming-languages-were-weapons

* (they weren’t that bad honestly, a kind soul that took the journey 9 years ago made mine much shorter)

permalink
report
reply
13 points

Thank you! The original source of truth! 💎 As IT people, this is part of our culture and should be transmitted. 🤣

permalink
report
parent
reply
2 points

It seems the image is a screenshot of the original page, slightly upscaled, but since the source page includes links to larger images we can make the HD remaster. Shotgun not me.

permalink
report
parent
reply
29 points

C++ and ruby are weird, especially since C is somehow considered a reliable rifle. Rust betrays it’s age

permalink
report
reply
21 points

C is reliable in the sense that your C program reliably has memory leaks and security holes.

permalink
report
parent
reply
15 points
*

Unlike your Java program amirite.

The benefit of java is that you didn’t write the security holes in your software.

permalink
report
parent
reply

Programmers can trust language security features too much…

Of course, they’re nice to have and really can make things easier to implement securely but it’s still very easy to introduce security problems or bugs into any code. This is just an unsolvable problem of writing imperative code. All imperative code will reliably have memory leaks (even in Java!) and security holes because no compiler can check to see if you thought of everything.

And large and complex compilers/interpreters with these security features can end up introducing their own security problems or bugs in the process of implementing them.

I’m just tired of people entirely dismissing languages like C because they don’t have these features. Especially when the operating systems their code runs on and their languages may even be implemented in C!

permalink
report
parent
reply
7 points
*

And does anything require Python v2 anymore? I work almost exclusively in Python and haven’t run into that in many years.

permalink
report
parent
reply
5 points

Python v2 was sunset in 2020. So only legacy software.

permalink
report
parent
reply
3 points

Someone should tell Ubuntu (or Debian, I’m guessing).

permalink
report
parent
reply

C is very reliable. It works almost everywhere with very little resources or overhead and many of the most fundamental parts of our systems (that have to work reliably) are written in C. Many of the languages in that image are even implemented in C.

If you want to write portable, fast, and simple code C can help you with that if you use it in the right way.

permalink
report
parent
reply
5 points

The M1 Garand is known for having a problem during reloading where you have to stick your thumb in a slot that’s about to shut very hard. There are techniques to avoid getting pinched, but “Garand thumb” is a well-known phrase among vintage rifle enthusiasts.

This fits C very well.

permalink
report
parent
reply
3 points
*

Agree. That one didn’t age well…

permalink
report
parent
reply
1 point

I watched Jon Gjenset’s stream where he implemented the beginnings of a BitTorrent client in Rust and of the four hours about 25% of it was spent wrestling with quirks in serde and reqwest.

It was pretty discouraging watching a pro have to fight the ecosystem so hard.

permalink
report
parent
reply
1 point

How long ago was this? I think the ecosystem got waaay better in the last 1-2 years. 3-4 years ago it was rough but shit still worked with a bit of trouble.

permalink
report
parent
reply
24 points

Old enough they still know Prolog.

permalink
report
reply
16 points

It’s a pretty good representation of Rust, being 3d printed means that it’s the only gun where you can’t shoot yourself in the foot

permalink
report
reply
6 points

[flips safety off[

permalink
report
parent
reply
9 points

permalink
report
reply
7 points

It’s a very large image, so many clients load a scaled down version. On Boost at least you can press the HD icon and it loads the fullsize images where stuff is legible.

permalink
report
parent
reply

Programmer Humor

!programmerhumor@lemmy.ml

Create post

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.

Community stats

  • 4

    Monthly active users

  • 755

    Posts

  • 2.2K

    Comments