How do different programming languages cooperate? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

How do different programming languages cooperate?

Can different programming languages work with each other in a larger project? If so, how?

18th Apr 2019, 1:15 PM
Aaron Hung
Aaron Hung - avatar
4 Answers
+ 4
Of course, for example, C++ can work with Assembler or scripting languages like LUA, HTML works with CSS, JS or PHP.
18th Apr 2019, 4:06 PM
Aleksander Szczepura
Aleksander Szczepura - avatar
+ 4
Here is one use case or example. A large project can have several modules or processes. These processes can be implemented in different languages but can exchange data with each other via memory, files and network.
20th Apr 2019, 5:52 AM
Sonic
Sonic - avatar
+ 2
If you use different languages for data Manipulation, you could use the JSON data format as an Interface between the different languages.
18th Apr 2019, 4:08 PM
Bela Brockmann
Bela Brockmann - avatar
+ 2
both, JS, jquery and php can manipulate the DOM in HTML. CSS modifies html, js & jq can manipulate css and html. html elements can trigger js and php events. php can inject js code into the DOM php CRUDs the database i.e. SQL
19th Apr 2019, 9:38 AM
Logomonic Learning
Logomonic Learning - avatar