you are viewing a single comment's thread
view the rest of the comments
[–] 4 points 8 months ago* (1 child)

If you need to optimize for performance, a common approach in Python is to extend it in C/C++. It's quite easy to do. Many high performance modules in Python are written in C/C++.

It's also easy to embed Python in a C/C++ program, should you feel the need to add some scripting support to it. A very nice feature of Python, in my opinion.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 3 points 8 months ago

    absolutely! similar is true of node in v8 (though python imo is far more mature in this regard) and probably most other languages

    exactly why things like numpy are so popular: yeah python is slow, but python is just the orchestrator

  • source
  • parent