Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
If you redirect the output to a file, it might speed up significantly, if there is a lot of output (factor 100 will not be unusual).I have only finished the basic calculations and the output to screen is very slow. By the way the program consists of over 6,000 lines.
and you have no proof. It was true in former times, and you could measure it.speed is definitely not Java's strength
stefanwagner said:You could write a c++-compiler in java
Try debugging your Java and C/C++ programs. Java programs contain a lot more machine-level instructions than the equivalent C/C++ programs. More instructions means longer execution time.stefanwagner said:and you have no proof. It was true in former times, and you could measure it.Today, you can only measure it by the amount of badly informed people who believe it's slow.
It's not prejudice. While Java has its merits, I feel that much of the facts about Java is somewhat overhyped. Many Java proponents try to make Java looks like one-size-fit-all solution. Now that is naive. No programming language claims to have one-size-fit-all solution for all your programming problems. Despite the power in C/C++, C/C++ is not for novice to use. Despite the ease of programming and speed of development in VB, VB proponents still have the decency to admit VB's limitation when it comes to size and speed of execution. Now, how naive can you get when a Java advocate claims that Java is smaller (due to the fact that many parts of the program is already in the JVM), more portable, easier, as powerful, and NOW even FASTER than C/C++?!?!stefanwagner said:Or you keep on spreading your prejustices...