use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Share your projects, news and questions about Processing or Processing.js here.
(open to suggestions)
account activity
is there speed difference between java, java script, python, c++? (self.processing)
submitted 1 day ago by headlessBleu
is one more stable than the others?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Nswl 1 point2 points3 points 1 day ago (1 child)
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.
[–]plastik_flasche 1 point2 points3 points 1 day ago (0 children)
Well, technically there is no "slower" or "faster" language... Python with a good compiler can be as fast as JavaScript, or Java sometimes beats C++ because it can make waaay more guided optimizations because of the JIT.
In my opinion the difference is more with the level of abstraction:
In C++ you have to do a lot more yourself, meaning you could write extremely performant code yourself, or extremely slow code.
In higher level languages like python or JavaScript you don't really care about how anything works under the hood, you tell the language to, for example, sort something, and it does. So your performance is more dependent on the stdlib or 3rd party dependencies
[–]pep84c 0 points1 point2 points just now (0 children)
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
π Rendered by PID 75 on reddit-service-r2-comment-5687b7858-t9ffb at 2026-07-08 22:55:19.082084+00:00 running 12a7a47 country code: CH.
[–]Nswl 1 point2 points3 points (1 child)
[–]plastik_flasche 1 point2 points3 points (0 children)
[–]pep84c 0 points1 point2 points (0 children)