Abstract

Mixed language programming is very useful for many applications which can take advantage of the salient features of different programming languages. In this paper, design and implementation of ChJava which supports portable mixed language programming in C/C++ and Java will be presented. ChJava integrates portable C/C++ interpreter Ch and Java virtual machine. Using ChJava, Java classes can be executed from a C/C++ program interpretively, and C/C++ programs can be executed from a Java program. ChJava contains the salient features of both C/C++ and Java. The application of ChJava in interactive control of a mechatronic system is presented. The mechatronic system can be controlled in a standalone environment. It can also be controlled across internet through a Web browser with the program running either in a client side or in a Web server. In this application, the control of C/C++ scripts can be generated and modified dynamically. It is expected that ChJava will find applications in many different fields.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call