python versus c++ speed revisited

29 views
Skip to first unread message

Eduardo Cobian

unread,
Aug 31, 2016, 3:46:40 AM8/31/16
to opencog
Hello,

I continue studying artificial intelligence and part of that is python programming (tensorflow).
I am reading a book now that talks about improving speed and it seems that nowadays python and c++ are much closer regarding speed.
Pure python is much slower but when combining numpy vector operations with cython (or numba) things improve a lot.

You can take a look at this article to see what you make of it: https://www.linkedin.com/pulse/can-python-code-beat-c-speed-alexander-pletzer

I mention this cause I think python should be the language to use as opposed to c++.

Cheers.
Reply all
Reply to author
Forward
0 new messages