19 points

Joke on you until the python program segfaults

permalink
report
reply
2 points

If it does it’s because of C/C++ code

permalink
report
parent
reply
22 points

Nevermind that the C++ program is two orders of magnitude faster when completed.

I would love to learn and use Rust but I’m a embedded systems guy. Everything of consequence is C and C++.

permalink
report
reply
3 points
6 points

I meant faster than Python, not faster than Rust. Rust is fast.

permalink
report
parent
reply
1 point

Ah. OK. Makes more sense.

permalink
report
parent
reply
7 points

There’s embedded rust for a few platforms. Using it on ESPs is fun

permalink
report
parent
reply
12 points

If the embedded system is old or poorly-maintained enough, there might be more Rust than you’d think.

permalink
report
parent
reply
73 points
*

Rust developer: I’d like to compile some code

Rust compiler: the fuck you are

permalink
report
reply
43 points

The rust compiler holds your hand, wraps you in blankets, makes you hot chocolate, kisses you on the forehead before it gently and politely points out what you did wrong and how you can solve it step-by-step. It would never think of something as heinous as swearing at you, shame on you for insulting my wife’s honour like this.

permalink
report
parent
reply
2 points

I don’t know from where this legend comes from but lifetimes/concurrency/macros errors are brain-hurting.

Most of the time I find myself dropping project because I wrote my program in a correct way but Rust just does not like how it is designed lol. I can’t get shit done with this language

permalink
report
parent
reply
4 points

except when it gives errors about lifetimes of some object.

boy, that makes my brain hurt

permalink
report
parent
reply
4 points

The rust compiler produces a flawless understanding of your code, and then quits out because understanding that code is a Nightly-only feature and you’re using the stable build.

permalink
report
parent
reply
29 points

Rust compiler is passive agressive, like:

“There’s an error at line 286 because you still don’t know how to use the borrow checker after all this time ♥️”

permalink
report
parent
reply
4 points

its a compiler. That is at best projection, especially considering how the compiler’s error feedback is designed to be firm yet gentle.

permalink
report
parent
reply
8 points

Damn right. And once it compiles… it works.

permalink
report
parent
reply
1 point

Meet my friend: .unwrap()

permalink
report
parent
reply
20 points

I need a rust compiler in my life 😍

permalink
report
parent
reply
37 points

This C++ message has an urgency vibes to it:

“Segmentation fault!! Drop the Nuclear Reactor quick!!”

permalink
report
reply
29 points
*

Average C++ error

permalink
report
parent
reply
54 points

Embedded C entered the chat

permalink
report
reply
31 points

// I am responsible for every byte of this code and still don't know why this line breaks everything.

permalink
report
parent
reply
47 points

Your loop had a race condition, so we let the smoke out for you.

permalink
report
parent
reply
8 points

Can’t believe that my code is racist smh

permalink
report
parent
reply
5 points

Ho hoo, that isn’t smoke, it’s steam, from the steamed rams we’re having! Mmm, steamed rams.

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

  • 6.9K

    Monthly active users

  • 1.4K

    Posts

  • 32K

    Comments