Can you make a VM in visual basic and if so, what is some basic sorce code for one?
Carstairs Monday, October 19, 2009 12:51 AM
.Net and therefore also VB already has a kind of VM called CLR (Common Language Runtime). All .Net code are compiled to an intermediate language (IL). The purpose is to be able to run the same code on many different platforms.
Therefore, it has no meaning to make a new VM in VB. A VM takes some IL and convert it to machine code. You can never do that in VB.
Everything should be made as simple as possible, but not simpler.
Any fool can write code that a computer can understand. Good programmers write code that humans understand.
Marked As Answer byCarstairsMonday, October 19, 2009 8:45 PM
Carsten Kanstrup Monday, October 19, 2009 1:13 PM
Can you make a VM in visual basic and if so, what is some basic sorce code for one?
What your VM stand for?
Virtual machine or Video Media?
kaymafI hope this helps, if that is what you want, just mark it as answer so that we can move on
kaymaf Monday, October 19, 2009 2:34 AM
It stands for Virtual Machine.
Carstairs Monday, October 19, 2009 3:49 AM
.Net and therefore also VB already has a kind of VM called CLR (Common Language Runtime). All .Net code are compiled to an intermediate language (IL). The purpose is to be able to run the same code on many different platforms.
Therefore, it has no meaning to make a new VM in VB. A VM takes some IL and convert it to machine code. You can never do that in VB.
Everything should be made as simple as possible, but not simpler.
Any fool can write code that a computer can understand. Good programmers write code that humans understand.
Marked As Answer byCarstairsMonday, October 19, 2009 8:45 PM