this post was submitted on 12 Mar 2024
1093 points (95.7% liked)

Programmer Humor

32410 readers
379 users here now

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

Rules:

founded 5 years ago
MODERATORS
 

Please dont take this seriously guys its just a dumb meme I haven't written a single line of code in half of these languages

you are viewing a single comment's thread
view the rest of the comments
[–] xantoxis@lemmy.world 59 points 8 months ago (2 children)
[–] PlexSheep@feddit.de 16 points 8 months ago (1 children)

Yeah that one got me too. Rust has tons of c libs wrapped in safe rust.

[–] renzev@lemmy.world 13 points 8 months ago (2 children)

I was mainly thinking about how so many Rust projects advertise very loudly that they're written in Rust. Like, they would have -rs in the name, or "in Rust" as part of their one-line description. You rarely see this kind of enthusiasms for the the language in other languages. Not a bad thing by the way! And also there's the "rewrite it in rust" meme, where people seem to take perfectly functional projects and port them to Rust (again, not a bad thing! Strength in diversity!)

[–] calcopiritus@lemmy.world 6 points 8 months ago (1 children)

Yeah, no python package has "py", JavaScript ".js" or java "java". None at all.

[–] CapeWearingAeroplane@sopuli.xyz 1 points 8 months ago* (last edited 8 months ago) (1 children)

For Python I think there's an actual point though: A lot of Python projects are user friendly wrappers for pre-compiled high-performance code. It makes sense to call something "py" to signal what the library is.

[–] calcopiritus@lemmy.world 1 points 8 months ago

Well, it's the same in rust, that's why I agree more with the first interpretation.

There is an existing solution in C/C++, just make some binding and call it *.rs

Both python and rust use py and rs in the same way, to signal that it's the python/rust version of that library.

Of course, there are exceptions, but that's what usually happens.

[–] Psyhackological@lemmy.ml 1 points 7 months ago

Check Julia then, .jl everywhere

[–] RustyNova@lemmy.world 5 points 8 months ago

I'd even say Rust is python but gone through format!("{}-rs", problem)