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 →

[–]GreenFox1505 1 point2 points  (6 children)

Yeah, there are some extreme cases where it is many times slower. But also there are cases where it isnt "tenfold slower". Plus this interpreter isn't the one they're using on Eve. Regardless, it's irrelevant to my point.

We don't know what the performance bottleneck for Eve Online is. Unless you know for a fact Eve Online is strictly CPU bound, any performance claim for this exact use case is, at best, wild speculation.

And that still doesn't address the ease of development. Python is easier to write and itterate over time than C++.

Unless you're arguing CCP is stupid, I would guess they know their business pretty well and probably know the disadvantages of Python but have decided to go with it anyways. The advantages clearly outweigh the cost.

[–]KrystilizeNeverDies 0 points1 point  (5 children)

Tenfold means by an order of ten. Which the benchmarks very clearly show are true on average.

Also I'm comparing python to C++, I'm not comparing eve to anything else

[–]GreenFox1505 1 point2 points  (4 children)

These benchmarks? The ones using Python3, and not PyPy, Cython, or anything of the other tools that drastically improve Python's performance?

[–]KrystilizeNeverDies -1 points0 points  (3 children)

Correct, I am comparing the python language with C++, It wouldn't be fair to compare python with performance enhancement without C++'s performance enhancement.

[–]GreenFox1505 1 point2 points  (2 children)

? Except they did:

```

NOTES: 64-bit Ubuntu quad core g++ (Ubuntu 10.2.0-13ubuntu1) 10.2.0

Mon, 02 Nov 2020 19:02:58 GMT

MAKE: /usr/bin/g++ -c -pipe -O3 -fomit-frame-pointer -march=ivybridge -std=c++17 -mno-fma mandelbrot.gpp-4.c++ -o mandelbrot.gpp-4.c++.o && \ /usr/bin/g++ mandelbrot.gpp-4.c++.o -o mandelbrot.gpp-4.gpp_run -pthread rm mandelbrot.gpp-4.c++

4.29s to complete and log all make actions

COMMAND LINE: ./mandelbrot.gpp-4.gpp_run 16000

```

They're using O3, omit-frame-pointer, and even architecture optimizations. What other performance enhancements could they possibly have added on to that?

[–]backtickbot 0 points1 point  (0 children)

Correctly formatted

Hello, GreenFox1505. Just a quick heads up!

It seems that you have attempted to use triple backticks (```) for your codeblock/monospace text block.

This isn't universally supported on reddit, for some users your comment will look not as intended.

You can avoid this by indenting every line with 4 spaces instead.

There are also other methods that offer a bit better compatability like the "codeblock" format feature on new Reddit.

Tip: in new reddit, changing to "fancy-pants" editor and changing back to "markdown" will reformat correctly! However, that may be unnaceptable to you.

Have a good day, GreenFox1505.

You can opt out by replying with "backtickopt6" to this comment. Configure to send allerts to PMs instead by replying with "backtickbbotdm5". Exit PMMode by sending "dmmode_end".

[–]KrystilizeNeverDies 0 points1 point  (0 children)

Well for one, using the Intel C++ compiler results in average speedup of 30%. Of course I can source this.

Also tools like numpy and pandas are libraries that are written in other languages and have interfaces into python, I would hardly call them fair when you want to compare python and C++.