The only true connections between two different programming languages โโare ABI or programming language bindings.
ABI and programming language bindings are low-level conventions regarding how a function or class defined in C can be accessed in PHP, for example.
Another connection between two different applications written in two different programming languages โโcan be an API , which is a set of functions of one application (or both) that can be called via RPC .
Access to the open API can be obtained through a regular form, such as XML-RPC , SOAP , WSDL , etc., and can only access functions that the application developer decided to separate from the outside.
source share