| knowledge-database (beta) |
 |
Current group: comp.simulation
Re: simulation language, C/C++ or Java?
|
|
 | | From: | ian mayo | | Subject: | Re: simulation language, C/C++ or Java? | | Date: | Thu, 21 Oct 2004 08:26:20 -0500 |
|
|
 | Gary, > In my experience c++ is better, because you can create easier GUIs and > faster application. There are many technical libraries. In case of > programming platform independent software and maybe applications for the > web it is better to use java. > > so far > > gary >
I've used both languages and have to fall on the side of Java, I'm afraid. I've found a wealth of open source libraries and frameworks for Java which have eased the task of developing simulations. Re-using Open Source GUI, Network & Framework components has been low-cost and allowed my development effort to focus on the simulation task.
The relative speed of Java & C++ has received endless debate. The following items have stayed at the front of my recollection: - for higher level operations the processing is performed within the Java libraries - which are largely written in C/C++ anyway - for lower level operations (stepping through a loop, performing math operations) the java code is almost identical to C/C++, and compiles down to intermediate language of similar performance
An afterthought is that Microsoft is now moving its programming languages to use a runtime environment (CLR) just like java.
Good luck to the original poster anyway.
Ian.
|
|
|
| | |
|
 |