Console? good, GUI? good, game dev? use Godot engine with its similar language Gdscript, but what else? Ive been seeing AI, Data Science stuff, but whats the point if ita slow?

you are viewing a single comment's thread
view the rest of the comments
[–] 22 points 3 months ago (11 children)

define slow.

my life has been in C style languages but even i kniw python us a great general purpose language. are you going to use it for high frequency trading? no but most things dont need that speed.

yes its used a lot in ai but also for a ton of linuc scripting. i dont think anyone uses perl anymore.

so in what way was it slow when you used it? what micro seconds were you lookong for?

  • source
  • hideshow 11 child comments
  • [–] [S] -1 points 3 months ago (1 child)

    I wrote a console tictactoe game with primitive AI opponent using both Python and C++ and python takes more time in the background process before making a move than in C++.

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

    Yeah, computationally intensive stuff is going to be slow when implemented in Python. You will find lots of data science libraries for Python that do computationally intensive stuff, but they're then generally implemented in C/C++ or Rust, with only a thin API layer written in Python.

  • source
  • parent
  • load more comments (9 replies)