←back to thread

33 points ashishb | 4 comments | | HN request time: 0.002s | source
Show context
musicale ◴[] No.43298069[source]
Depressing, since I used to like Python. Though I was always aware of the 100x slowdown (or cost increase) vs. C++.

PyPy isn't much worse than Dart on this chart.

The interesting bit to me is JavaScript giving Go a run for its money. To me this indicates that Python could be a lot faster than it is.

I wonder where Swift would fit in?

replies(2): >>43298112 #>>43298114 #
MonstraG ◴[] No.43298114[source]
Oh no it's the bouncy ball chart.

Please, if you have enough time, watch this https://youtu.be/EH12jHkQFQk

and avoid making any decisions using this chart.

replies(2): >>43298177 #>>43298459 #
1. raverbashing ◴[] No.43298177[source]
Honestly yeah

It's an artificial benchmark that means nothing in production

Also the article does not bring much to the table except of python whining

"Oh the Go dockerfile is smaller" Yes you compiled it and is running a binary. Big woop. Funny how the author not doing the same comparison with node

replies(1): >>43298455 #
2. ashishb ◴[] No.43298455[source]
> "Oh the Go dockerfile is smaller" Yes you compiled it and is running a binary. Big woop. Funny how the author not doing the same comparison with node

If I did that with Node, you would say what about Ruby. If I did that with Ruby, you would say what about Zig. There is no end to the list of languages.

> It's an artificial benchmark that means nothing in production

It was a cover illustration, I did not mention that at all. In fact, I demonstrated the resource consumption of Python's docker image. If you have suggestions to make the Python one, I am all ears.

replies(1): >>43299791 #
3. raverbashing ◴[] No.43299791[source]
> If I did that with Node, you would say what about Ruby.

No, because the comparison here is runtimes of interpreted languages

Comparing a compiled binary to the python/node/ruby runtime is comparing Apples to Oranges

replies(1): >>43305116 #
4. ashishb ◴[] No.43305116{3}[source]
Why do I have to restrict myself to interpreted languages only?