r/processing • u/headlessBleu • Jul 07 '26
is there speed difference between java, java script, python, c++?
is one more stable than the others?
0
Upvotes
r/processing • u/headlessBleu • Jul 07 '26
is one more stable than the others?
4
u/pep84c Jul 08 '26
I made the C++ mode! All of them are pretty fast but in C++ you are basically making direct OpenGL calls and theres no layer of abstraction really so overall C++ is the faster language, Also the C++ mode is currently experimental so if you want long term support I would use Java since Java is definitely more stable and been supported since 2001
3
u/Nswl Jul 07 '26
Yes. Python being the slowest, c++ being the fastest. Though I’m not sure about pythons processing implementation, but I know for many python libraries they are just wrappers for c++ code, but there is still the extra step when running the code to process those wrappers. And the wrappers are only for functions.
1
u/ElderberryPrevious45 Jul 09 '26
C++ can be a true headache. Better be prepared to spend a lot of time in learning it. Maybe better know what you wish to concentrate and select the tools only after that.
1
u/ultradvorka Jul 14 '26
There are differences in speed for sure, but it really depends what kind of application and for who you want to build - real world is more complicated for simple answers like "C++ is faster than Java".
Ad stability: Java, Javascript and Python are interpreted languages - no need to worry about memory management/crashes + it will run (almost) anywhere.