3 ms·
Technically, it is C that’s faster.
by meling 4y ago
Technically, it is C that’s faster.
- cirospaciari 4y agoPython (CPython) is written in C so always will be C, PyPy i think is C too? not sure.
- o_1 4y agoClaiming python has blazing speed while literally being CPython is insanity. This is like saying "Im a natural body builder who only uses Test, HGH, and Dianabol". Great drop the natural part, similarily just advertise speed as CPython.
- kaba0 4y ago> Claiming python has blazing speed while literally being CPython is insanity And it is not claimed anywhere. Besides, cpython is not really know to be fast, as it is an interpreter? Why would its implementation language matter much?
- xwowsersx 4y agoBy bodybuilder standards, using just Test, HGH, and Dianabol is practically natty!
- melenaboija 4y agoTechnically (not sure what you mean with this but with the context I will use it too as it seems to match with what I want to say) you could never talk about Python (the most common and original implementation) without making reference to C then. And if you are not making reference to a specific implementation then the comparison does not make any sense.
- palata 4y agoIsn't there a difference between interpreting Python code with CPython (which I would call "Python") and running compiled C from Python (which I would call "C")? Then it kind of make sense to talk about " pure Python" (the interpreted one) and "wrapped C", doesn't it?
- dgb23 4y ago> you could never talk about Python (the most common and original implementation) without making reference to C then. Good. Because otherwise people would be mislead to think that Python itself is fast. The Python plus C combo has opposite tradeoffs in many dimensions.
- warinukraine 4y agoTechnically, python is written in C. What's your point?
- nmz 4y agoTechnically, golang was written in C. Why so combative?
- warinukraine 4y agoI was just highlighting how saying "technically it's C that's faster" is a stupid think to say. Thanks for helping me make my point :D
- jacobr1 4y agoBut that isn't the question. The question is what tool delivers the best performance. If I want to build some end-use-case software, should I adopt "Python Framework X" or "Golang Framework Y" to build this system? One consideration amongst many is performance. If you assume that the overall system with Go will be faster than the overall system with Python (and c modules) then you'd be wrong in this case. Other factors would inform your overall decision, but having more knowlege about tradeoffs enables one to make better engineering decisions.