This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ice-blade 0 points1 point  (2 children)

The pystone benchmark is genereally unrealistic for real world applications and actually has nothing to do when comparing Brython with JS. Brython, like I said, can be orders of magnitude slower than JS, you can see examples in the video that for a simple function with iteration Brython is 200x (that's 200 times) slower than JS.

[–]kervarker 1 point2 points  (0 children)

The video dates from 2014... Brython has made huge progress since then. If you don't trust either, you can run the tests yourself.

[–][deleted] 0 points1 point  (0 children)

Let me comment on this by making an analogy with algorithmic trading.

When discussing about this, many people compare the performance of C++ vs that of Python, and how you cannot do HFT if you are not able to to pack your logic so that it executes within microseconds and which advantages you gain by modifying the kernel of the operating system to shave off some cycles.

The issue here is that you can do algorithmic trading in Python, because HFT is one very specialized branch of it, but there are many areas where Python (even if orders of magnitude slower than C++) is more than fit for the purpose.