PDA

View Full Version : how do different programming languages work together



babu198649
22nd March 2008, 04:23
hi
how do different programming languages communicate.

ex,
linux is written in c language. any c program calls the system calls directly to perform its task.

but how do java does this.although it uses api's ,how these api's are written.

marcel
22nd March 2008, 07:55
Basically the java virtual machine translates Java API calls into system calls, where required, because a lot of things happen inside the jvm, without any need for outside calls. It is nothing fancy.