3 ms·
If one is forced into writing code that needs to be fast in a language other than Python, then I'm not sure I understand why Python gets to claim any credit?
by grumpyprole 4y ago
If one is forced into writing code that needs to be fast in a language other than Python, then I'm not sure I understand why Python gets to claim any credit?
- cldellow 4y agoSlight nitpick: the credit that was being claimed is that Python allows fast developer speed while not sacrificing overall runtime performance. The code that is written in a language other than Python is often not written by the developer writing the Python code. As an example, I've been fiddling with inferring automatic data extraction rules for data in scraped webpages. The meat of the algorithm and its heuristics is in Python. The heavy lifting of parsing HTML and evaluating CSS selectors is done by a C parser that I did not write. For me, prototyping the heuristics in C would have been quite a bit slower.