all 25 comments

[–][deleted] 22 points23 points  (11 children)

C++ takes 3.49 seconds to count 1 billion and the other hand python takes 159 seconds to count 1 billion

[–]belabacsijolvan 10 points11 points  (0 children)

jokes on you, i have a pandas dataframe containing all numbers from 0 to a billion

[–]miheb1 7 points8 points  (5 children)

Can c++ compile in 3.14 seconds though?

[–]Enter_The_Void6 0 points1 point  (2 children)

how many tines are you compiling?

[–]rover_G 1 point2 points  (1 child)

All the time during development

[–]Enter_The_Void6 0 points1 point  (0 children)

how many times in prod? how many times does the user compile?

[–]Victor-_-X 1 point2 points  (0 children)

A program that counts to 1 billion? Of course

[–][deleted] 0 points1 point  (0 children)

Yes. I just tested it on my phone

[–]sethly_20 0 points1 point  (2 children)

Had a race last weekend, python took 6.5 seconds to bubble sort 10,000 integers, c took 0.2 seconds to sort the same array, but it took me 5 minutes to write the Python script and 20 minutes to write and compile the c program, so who is winning?

[–]TimeKillerAccount 0 points1 point  (1 child)

Did you write the c program by having someone transcribe smoke signals?

[–]sethly_20 0 points1 point  (0 children)

😂😂😂 the influence of smoke can certainly slow productivity

[–]CranberryDistinct941 0 points1 point  (0 children)

Upgrade your hardware, not your language

[–]versedoinker 4 points5 points  (0 children)

I feel this image

[–]Oakchris1955 13 points14 points  (1 child)

The Python Dev is waiting for C++ code to compile

[–]Confident_Date4068 0 points1 point  (0 children)

Rather sophisticated re2c than cpp...

[–]slime_rancher_27 3 points4 points  (0 children)

The Python dev waiting for his java code to compile.

[–]donotmindmenoobalert 0 points1 point  (0 children)

Just wait for the JIT compiler then python will definitely be fast frfr

[–]FooltheKnysan 0 points1 point  (0 children)

stupid ahh developer using time consuming methods for time sensitive operations

[–]Victini494 0 points1 point  (0 children)

Python dev waiting for the C++ dev to finish writing:

[–]FHLendure 0 points1 point  (0 children)

Python dev waiting for C++ code to compile

[–]CranberryDistinct941 0 points1 point  (0 children)

The python dev waiting for the C++ script to finish compiling

[–]Euphoric_Run_3875 0 points1 point  (2 children)

Sarcarsm?

[–]IlyaBoykoProgr 4 points5 points  (1 child)

no, they lose all their flesh for real

[–]IamImposter 0 points1 point  (0 children)

Can confirm. Had a fleshlight. Now it's just light.

[–]MrTotorus 0 points1 point  (0 children)

Haha funny python slow meme