News for hackers. Stuff that matters.
Re:Why I Use Nim instead of Python for Data Processing by Jensson on Saturday September 25, 2021 @09:01AM (#28652832)
I've tried cython and it isn't competitive with C in real world cases. Cherry picking a case where it is competitive doesn't help your case. Its performance tend to be around the level of Java, another language people say is competitive or faster than C++ but in practice C++ is still twice faster than Java in most cases.

Still, getting Java level performance out of python is a huge improvement and should be enough for most cases.

Re:Why I Use Nim instead of Python for Data Processing by CraigJPerry on Saturday September 25, 2021 @02:18PM (#28655055)
Ahh my point was more that you can score a 17x performance boost with minimal effort rather than any absolute performance advantage over c++.

For a c++ comparison python would be much better pointing out the productivity advantage it has over the notoriously low productivity of c++ development - rather than competing on execution performance.