14 ms·
It's such a great language, and so incredibly slow :-/
by pc2g4d 7y ago
It's such a great language, and so incredibly slow :-/
- hnarn 7y agoProbably a kind of premature optimization on my part, but this is why I chose Golang over Python as my primary language. Maybe one day Python will have its own compiler without having to drop into writing C, who knows? For know I think the features of Go are just more attractive than those of Python.
- asperous 7y agoPython has a compiler without dropping into C (cython).. but it's mostly used these days for glue code between c and Python, or for small bits of code that need extra optimization. There is also Rpython and pypy
- pjmlp 7y agoWhile true, their adoption suffers due to them not being the way that 90% of the community deals with Python.
- yesenadam 7y agoI do most of my programming in Cython these days, mainly maths/graphics-related, but all kinds of stuff. It's great for that! I do the intensive calculation parts with typed C variables, structs, arrays, at C speeds, while doing the once-only stuff like loading and saving images in pure Python. I guess it's weird floating between C and Python from line to line in a program, but I like it a lot. (Not having to type semicolons and curly braces anywhere is no small benefit also.)