this post was submitted on 12 Mar 2024
1099 points (95.8% liked)

Programmer Humor

32380 readers
1347 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
[–] [email protected] 59 points 8 months ago (2 children)
[–] [email protected] 16 points 7 months ago (1 children)

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

[–] [email protected] 13 points 7 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!)

[–] [email protected] 6 points 7 months ago (1 children)

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

[–] [email protected] 1 points 7 months ago* (last edited 7 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.

[–] [email protected] 1 points 7 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.

[–] [email protected] 1 points 7 months ago

Check Julia then, .jl everywhere

[–] [email protected] 5 points 7 months ago

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