top | item 19475999

(no title)

shadowmint | 7 years ago

no, the trivial frontend is built in python; the real code is usually c++ or c.

Ignore that reality if you want to, but it is a fact.

Big complicated python projects are seldom pure python, they are usually a friendly python frontend to a serious application written in something else.

It seems in no way remarkable that someone wanting to build a serious backend type piece of functionality would pick another language that was, just for example, multithreaded.

discuss

order

mlthoughts2018|7 years ago

The CPython interpreter itself is a C program. Acting like extension modules “aren’t Python” is highly disingenuous.

shadowmint|7 years ago

Oh please, go read the source code for tensorflow and then come back and we can have a real conversation.

typon|7 years ago

I don't understand this logic. The users are learning Python, not C++ when they're trying to learn data science or implement a machine learning model. Should I say Tensor flow isn't written in C++ but CUDA or OpenCL? Any self respecting researcher is training their models on GPU or FPGA, not CPU.

The point is that Python is the entry point for large majority of data scientists currently and its absolutely disingenuous to try to dispute that reality.

_underfl0w_|7 years ago

> The users are learning Python, not C++

The key word here is "users". Python is fantastic for users. It allows users to get things done without having to worry about types or memory or the underlying hardware in any way.