F
F
Faiq Alizade2017-06-19 22:32:10
Programming
Faiq Alizade, 2017-06-19 22:32:10

Software in multiple programming languages?

Hello, I would like to know how software is written in different languages?
Those. exactly how do they interact?
Multilingual programming! for example, they wrote a Java Script what result is (Variable for example) and I want this variable or some other (I don’t know exactly what) so that it is calculated, for example, in Python, then some kind of Return from there and again another Java script

Answer the question

In order to leave comments, you need to log in

4 answer(s)
I
index0h, 2017-06-19
@faiq

Various approaches are used for interaction. ABI when the functionality of libraries is directly used, API when the interface is used at the level of the program code, CLI when interaction occurs through the console, DBus as a standard for interaction at the OS level, there are a lot of network protocols, and on top of them there are also end application protocols, sometimes interaction occurs generally through files etc.
Lots of options, it all depends on the task.

A
Anvar Shakhmaev, 2017-06-19
@RxR

The most common example is any client-server application, not always on different ones, but very often, take web development as an example. Another example is P/Invoke in C#, which allows you to call functions from dll libraries written in other languages, such as C.

S
sim3x, 2017-06-19
@sim3x

It is badly spelled
From the Python side, we write a layer in C
From the Java side, we write a layer in C
We glue these two layers, anyhow it works
For everything to work normally, we need a very good specialist in sam, python and java at the same time

N
nirvimel, 2017-06-19
@nirvimel

Plumb in one word: microservices .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question