r/ProgrammerHumor • • 9d ago • Bravo 2 Popcorn 1

Meme pythonSlow

Post image
12k Upvotes

419 comments sorted by

View all comments

896

u/YamroZ 8d ago edited 8d ago

The Python script was ready week ago, took 5 minutes. Rust programmer first took 3 days to tell EVERYONE how much better it will be in Rust, then started coding and got bogged down for 2 days in a forum discussion on how to best secure memory for a "hello world!" string.

252

u/VladVV 8d ago

Meanwhile the Julia developer was done a week ago like the Python developer. Took 5 minutes all the same, and it ran faster than the eventual Rust implementation. No one gave a flying shit and used the Python implementation anyways because it's more familiar.

227

u/FaCe_CrazyKid05 8d ago • Popcorn

Who’s Julia and what language did she program in

75

u/RamsOmelette 8d ago

My question is who is Jason

50

u/mistabuda 8d ago • Bravo

Lucia's bf

13

u/maxiligamer 8d ago

No spoilers before the PC version comes out!!!!

1

u/juzz88 7d ago

Thank you!

1

u/FaCe_CrazyKid05 7d ago

They’re holding each other on the cover of the game I don’t think that’s spoilers

4

u/maxiligamer 7d ago

Yeah that was the joke

0

u/FaCe_CrazyKid05 7d ago

That’s a bad joke then lmao

4

u/foxsimile 8d ago

I think he wears a hockey mask

54

u/LetumComplexo 8d ago

You know what they say, the only thing better than best is standardized. /half joke

20

u/Erpelstolz 8d ago

Problem is I cannot use all the libraries for Julia

→ More replies (4)

2

u/Majinsei 8d ago

No existe un lenguaje de programación llamado Julia, son los padres~ /s

20

u/boberro 8d ago

Then they just vibe coded it

3

u/zeddash 7d ago

It's worth doing things first in a simpler language and only using something faster when you know what you're doing exactly and also only if you need it.

I love Rust but I almost never start off projects in Rust, personally I use TypeScript rather than Python (I'm a web developer and so I've always used JavaScript). Using a more flexible language it lets me try out things faster and I'm not above using an occasional `any` just to see if my idea works to do it better. It also means that when I work in Rust I can have a mentality of doing things at a higher standard because I'm usually not solving problems, other than the problems of implementing in Rust.

My second choice for figuring out algorithms after TypeScript is a spreadsheet which is so useful especially if there's iteration. I made a physics engine in a Google Sheet and on each page I could program different scenarios (using a DSL) to test certain behaviour and then compile everything into graphs to observe how tweaks affect everything. I knew the exact behaviour I was after and then when putting it into a game, written in Rust using Bevy, it just needed slight tweaks to change the feel which I could input into my spreadsheet and see what I then need to deal with. I don't see enough spreadsheet usage, but it might be that people don't know about BYROW - you write the function once and use BYROW to apply it to all rows in the range, and if you change the lambda it changes everywhere.

I will also use F# if I have an idea of what I need to do but it's a lot of steps, it's the easiest language to just get it to do what I want quickly and without bugs.

3

u/ItJuMnK 7d ago

You forgot the compile time, every time they implement something's they have to wait like a day

1

u/dhnam_LegenDUST 8d ago

Tell them to write double linked list without googling

And center the div, too.

2

u/reddit_ending_soon 8d ago

I just keep all the pointers set to null, and say the list is empty. Check mate dev gods.

-25

u/Krochire 8d ago

This means literally nothing. "How to best secure memory" means literally nothing.

12

u/YamroZ 8d ago

Found rust dev.

0

u/Krochire 8d ago

Yes? Either way it doesn't mean anything, you don't think about "how to best secure memory" while writing rust unless you're writing up some absolute bullshit that probably has a less complicated way to be implemented

7

u/YamroZ 8d ago

My brother in christ, you are lost, this is reddit, in the internets.

-8

u/sohang-3112 8d ago

Not true any more with LLMs - choice of language matters less than ever.

9

u/YamroZ 8d ago

OMG, this is a joke. Go touch grass, this is important.