TWiki home VRJ Wiki > Juggler > JavaAndCPlusPlus (r1.1 vs. r1.2) VRJ Wiki webs:
Juggler | VRJPlanning | Main | TWiki | Test
Juggler . { Home | Changes | Index | Search | Go }
 <<O>>  Difference Topic JavaAndCPlusPlus (r1.2 - 20 Jul 2002 - PatrickHartling)

Q: Why use both Java and C++?

Line: 11 to 11

We use Java to make cross-platform GUIs that can communicate with the running C++ code. These GUIs may do any number of things. In particular, VR Juggler 1.0 has a tool called VjControl that can be used to do remote runtime reconfiguration of a running VR Juggler application. In VR Juggler 1.0, users do not write any Java code.

Changed:
<
<
VR Juggler 2 will have the next iteration on this tool, VrjConfig?. With VrjConfig?, users will have the option of writing custom configuration editors in Java. These editors will plug into VrjConfig? dynamically.
>
>
VR Juggler 2 will have the next iteration on this tool, VRJConfig. With VRJConfig, users will have the option of writing custom configuration editors in Java. These editors will plug into VRJConfig dynamically.


 <<O>>  Difference Topic JavaAndCPlusPlus (r1.1 - 04 Jul 2002 - PatrickHartling)
Line: 1 to 1
Added:
>
>

Q: Why use both Java and C++?

VR Juggler documents refer to the use of Java and C++ together. Why not just make everything Java or everything C++ instead of having a mix? Do I have to use both languages to write an application?

A: The two languages serve different purposes.

In VR Juggler, Java and C++ are used for different purposes. We use C++ for high-performance, natively compiled code capable of delivering the real-time performance needed for VR. Users write their applications in C++ and compile them against the VR Juggler libraries.

We use Java to make cross-platform GUIs that can communicate with the running C++ code. These GUIs may do any number of things. In particular, VR Juggler 1.0 has a tool called VjControl that can be used to do remote runtime reconfiguration of a running VR Juggler application. In VR Juggler 1.0, users do not write any Java code.

VR Juggler 2 will have the next iteration on this tool, VrjConfig?. With VrjConfig?, users will have the option of writing custom configuration editors in Java. These editors will plug into VrjConfig? dynamically.

Back to: LiveFaq

META FORM FaqForm  
META FIELD FaqTopic FaqTopic Misc
META FIELD ShortQuestion ShortQuestion Why use both Java and C++?


Topic JavaAndCPlusPlus . { View | Diffs | r1.2 | > | r1.1 | More }
Revision r1.1 - 04 Jul 2002 - 20:21 - PatrickHartling
Revision r1.2 - 20 Jul 2002 - 05:49 - PatrickHartling

Copyright © 1999-2008 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding VRJ Wiki? Send feedback