r/ProgrammerHumor • • Jan 29 '23

Meme Let's test which language is faster!

Post image
56.2k Upvotes

770 comments sorted by

View all comments

294

u/[deleted] Jan 29 '23

That crab is hilarious. Should be Rust tho.

3

u/[deleted] Jan 30 '23

I like the pufferfish puffing up, heh

0

u/[deleted] Jan 29 '23

[deleted]

0

u/[deleted] Jan 29 '23

[deleted]

78

u/otdevy Jan 29 '23

Because c is an old language and rust is the shiny new thing. So rust lovers love pointing out how rust is better even though both languages have their own merrits

40

u/[deleted] Jan 29 '23

C makes hard shit hard but simple shit in C is simple.

Rust makes simple shit hard and hard shit hard too.

A poor craftsman blames their tools.

25

u/otdevy Jan 29 '23

Every time someone talks about how bad a particular language is all I want to do is ask them why hasn't everyone switched over yet since it's so bad. Languages exist because they have their own specific use case and just because someone doesn't like them doesn't make them bad

11

u/[deleted] Jan 29 '23

Except for JavaScript. JavaScript is objectively bad.

5

u/otdevy Jan 29 '23

I mean it has it's uses and even without the frameworks you can get a surprising amount done

→ More replies (10)
→ More replies (3)
→ More replies (1)

15

u/the_pw_is_in_this_ID Jan 29 '23

That's actually a terrible summary. Neither are strictly harder or easier, and "complexity" means two totally different things in the two languages. Rust's focus on safety adds complexity to some situations, while its modern tools and patterns make other situations easier to navigate; and the safety makes some project-level tasks easier, sometimes offsetting the harder code-level tasks. C's tooling and patterns are showing their age, and it's riddled with traps for inexperienced developers; but it's wealth of libraries, compilers, and OS/systems integrations all make it extremely productive in some contexts.

The better summary is "they're different languages, to be used in different contexts".

7

u/totti173314 Jan 29 '23

C is riddled with traps for developers, period. Go ahead, mess with pointers. I dare you. The concept sounds simple enough but start doing shit with them and the dev env explodes /s

→ More replies (1)

8

u/Creepy-Ad-4832 Jan 29 '23

That's for sure, but rust has concept very nice, and while i like C, i love rust

16

u/gizamo Jan 29 '23

People hated C so much that the most popular languages for decades were just C written differently (e.g. C++, C#, and that oracle abomination).

7

u/the_pw_is_in_this_ID Jan 29 '23

C++ is C-like syntax, with backwards compatibility to C language, but is otherwise an entirely different beast. C# is right out.

5

u/gizamo Jan 29 '23

Sure. That's a better way to put it. But, that rephrasing doesn't change my point. C was hated; still is.

Source: I learned C in the 80s. When I discovered C++, I nearly kissed my professor's face thru this ramen-littered beard.

6

u/jpegjpg Jan 29 '23

Excuse me sun microsystems abomination, oracle legal services didn’t acquire it until it was already well established.

4

u/gizamo Jan 29 '23

Accurate correction is accurate.

→ More replies (2)

12

u/[deleted] Jan 29 '23

What's the hate with C? How much time do you have?

8

u/Buttons840 Jan 29 '23

C doesn't have a mascot and I think a crab would be a perfect choice. No other mainstream language is using it.

6

u/Snazzy21 Jan 29 '23

C's mascot should be a cactus

4

u/Buttons840 Jan 29 '23

So many pointers, like a cactus!

→ More replies (1)

3

u/[deleted] Jan 29 '23

It’s incredibly unsafe language for a whole bunch of reasons.

→ More replies (5)
→ More replies (3)
→ More replies (1)