+ 12
What is a VM? Like JVM..
I always read that Java and Kotlin run on the same VM, the same with C# and VisualBasic.net... But: 1- what is a "VM"? 2- Can a programmer anyone develop one? 3- If the answer is yes, how? And if not, why?
9 Answers
+ 7
VM "Virtual machines" are used in programming language to make run your code on it to make platform independent, because every operating system has his own architecture and different complier which that every os compile you code in his own way.
So to make the code independent they develop vm to run make the code run on it instead of make each os deal with the code in his way.
Yes you can create a vm you can check this article to know more:
https://blog.subnetzero.io/post/building-language-vm-part-00/
+ 6
Sometimes VMs are used to emulate one operating system in another. E.g. on Windows computer, you can have several VMs to emulate several Linux based computers.
+ 5
Sonic I know, but i want to know about VMs like JVM
+ 4
Shashi 0xfffffffffrekkitiskool00000 I know those VM, the type of virtual machine I want to meet is that Omar Sherif said
+ 2
VM= Virtual Machine u can search in google to more information
+ 1
In simple words VM stands for virtual machine it is used to run any operating system on single computer and for coders they can run that code on different operating systems like windows, linux etc
+ 1
You can create a terminal emulator, for a lenguage like bash or basic or an invented lenguage.
A virtual mashine for an existing operating system would be a huge project, try with something simplier.
+ 1
A Virtual Machine => Java Virtual Machine
0
nah just sharing what i know myself