Linking Programming Languages? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Linking Programming Languages?

Is it possible to link different programming languages together (but I don't mean in web development)? I've seen GitHub projects where it looks like the different files using different programming languages have been linked? Thanks in advance!

28th Jun 2017, 5:27 PM
Thomas John
Thomas John - avatar
4 Answers
+ 3
Yeah its possible, JNI - Java Native Interface for c++. Jython is for python.
28th Jun 2017, 5:38 PM
Szabó Gábor
Szabó Gábor - avatar
+ 2
Thanks both!
28th Jun 2017, 5:38 PM
Thomas John
Thomas John - avatar
+ 1
If You're talking about coding same program with more languages, the answer is yes. Nowadays it is common to code easier stuff with easy syntax language and the harder stuff with the other. For example You should combine java and python.
28th Jun 2017, 5:35 PM
zdena
+ 1
Thanks zdena! How would I do this exactly? Would I have to import a module or API?
28th Jun 2017, 5:37 PM
Thomas John
Thomas John - avatar