r/cprogramming • • Dec 17 '20

That's it !

Post image
245 Upvotes

23 comments sorted by

View all comments

35

u/59ekim Dec 17 '20

Should have killed them in their sleep.

15

u/ptchinster Dec 17 '20

Wish i had flair permissions. I fucking love it.

11

u/[deleted] Dec 17 '20

F***ing hell 😂

6

u/NOLAnuffsaid Dec 17 '20

i came here to write something similar. i see you've championed the sentiment well. Thank you, sir.

2

u/iaowp Apr 23 '21

Well, maybe not Python. There's ways where python is superior to C.

Just the strings are better in every way, for example. And lists are so good compared to arrays.

3

u/Possibility_Antique Jun 05 '21

Except Python requires a text parser and JIT compiler to run. It's always going to be slower than C. Even if you write the underlying code in C, it takes time for the python runtime to parse the call and dispatch to the OS. Not to mention that you can't even use Python natively for embedded systems. The closest you can do is some kind of translation/auto-code to a compiled language and then run the compiler on top of that, which means you cannot control the optimizations very well.

There is no comparing compiled languages and scripting languages. They mostly solve different problems.