Does the computer only runs one programming language at time? | SoloLearn: Learn to code for FREE!

+1

Does the computer only runs one programming language at time?

1/19/2020 9:16:05 AM

NÄ Omi

4 Answers

New Answer

+2

If it is interpreted or bytecode language, it needs an interpreter or virtual machine, one per process eg one per one command line window. In many languages you can from main programme call other language programmes if these second are translated to native binary code. It is possible to run programs in different languages each in different processes (eg window), and let communicate it eg with shared files, or with a net protocol.

+2

Yes you can use multiple programming languages to create a piece of software. It's known as mixed language programming. However, in most cases each language must be in a separate file. There are some exceptions to this e.g. you can embed assembly language in C/C++ code; and the Windows Scripting Host can handle multiple scripting languages in a single file.

0

What do you mean exactly by 'one programming language at time'?

0

i mean like can I use two programming languages for making just one code