Java Ray Tracing
RS

Programmers' Home Site

Java

Is Java going to replace C++? Probably not, but it sure is making headway. Check out one person's opinion and see if you agree.
Java vs. C++ If your browser supports Java, go to the Ray Tracing page. You'll see a Java applet that performs ray tracing right before your eyes. You have the option of downloading
  • The Java source code for the applet (42k zipped). Many thanks to James Goruk for updating the Java sources.
  • The C++ source code that implements exactly the same functionality (48k zipped).
  • The C++ executable (46k zipped).
See for yourself the performance difference between Java and C++.

Physics You can simulate various physical phenomena using Java applets. Here is an example of such a simulation together with the source code.

 Our plug. If you're a Java developer and you are collaborating with other people, you might consider trying (for free) our source control system. It's perfect for small teams that don't have a computer to spare for a central repository of source. Our unique product let's you collaborate with anybody who has e-mail.