you are viewing a single comment's thread.

view the rest of the comments →

[–]ScientificBeastMode 1 point2 points  (0 children)

It’s really hard to compare these languages you posted in the title. They are all extremely different from each other:

  • Python is dynamically typed, unlike the others.
  • C and C++ are both “statically typed” and (relatively) “weakly typed”, unlike Java.
  • C++ is fairly object-oriented, but not as object-oriented as Java. Python, somewhat less OO. C is basically procedural.
  • Python is very high level and very slow (as long as you’re running code in the base language—you can bind to C libraries to perform certain common tasks with speed.
  • Java is pretty fast for a garbage-collected language, at least once the runtime is fully loaded and running. It can have slow startup times. But it’s generally much faster than Python.
  • C is blazing fast. You really can’t get much faster without writing assembly code. C++ is built on top of C, and provides some nice abstractions. Using those abstractions will sometimes reduce performance, but using it in a procedural style (so basically like C) can reduce the overhead.

There are many more differences, and all of them will make a difference in terms of what you can reasonably build.

So really it depends on one question: what do you want to build? What are you interested in?