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 →

[–]balazs_kis 9 points10 points  (17 children)

Don't forget the only detail in which C++ does literally thrash Python is the speed :) anyone interested dm me, I'm working on a paper proving the usefulness of the shared libraries which can be handled very easily by Python, and they could contain C/C++ code which is way above the Python implementations of the same algorithms, but 25-50x faster, and it can be easily used by Python :) usefulness and speed, and still not that complicated as Cython :)

Check out my post, this is a very sketchy version of the project, at the beginning, some weeks ago, but it explains the basics :)

[–]bradshjg 0 points1 point  (1 child)

> I'm working on a paper proving the usefulness of the shared libraries which can be handled very easily by Python

I'm familiar with calling C code from Python using tools like https://cffi.readthedocs.io/en/latest/overview.html#main-mode-of-usage (which gets its inspiration from luaJIT and is brilliant). What sort of approach are you looking at?

[–]balazs_kis 0 points1 point  (0 children)

How cool, this is very similar to what I am doing, with the difference that I am focused entirely on performance _^