+ 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?

9th May 2019, 12:01 AM
InvBoy [ :: FEDE :: ]
InvBoy [ :: FEDE :: ] - avatar
9 odpowiedzi
+ 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/
9th May 2019, 12:38 AM
Omar Sherif
Omar Sherif - avatar
+ 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.
9th May 2019, 3:45 AM
Sonic
Sonic - avatar
+ 5
Sonic I know, but i want to know about VMs like JVM
9th May 2019, 4:30 AM
InvBoy [ :: FEDE :: ]
InvBoy [ :: FEDE :: ] - avatar
+ 4
Shashi 0xfffffffffrekkitiskool00000 I know those VM, the type of virtual machine I want to meet is that Omar Sherif said
9th May 2019, 3:22 PM
InvBoy [ :: FEDE :: ]
InvBoy [ :: FEDE :: ] - avatar
+ 2
VM= Virtual Machine u can search in google to more information
9th May 2019, 6:22 AM
Abhishek Bakhai
Abhishek Bakhai - avatar
+ 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
9th May 2019, 5:12 AM
Shashi
+ 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.
9th May 2019, 5:34 PM
Emore Anzolin
Emore Anzolin - avatar
+ 1
A Virtual Machine => Java Virtual Machine
10th May 2019, 9:50 AM
Maxim Weinrauch
Maxim Weinrauch - avatar
0
nah just sharing what i know myself
9th May 2019, 3:25 PM
arch user btw...
arch user btw... - avatar