A virtual machine is an emulation layer between a program and the OS that presents to the application a specialized environment to run in, than the raw environment that the OS provides.

learn more… | top users | synonyms (1)

1
vote
2answers
107 views

Developing a virtual machine / sandbox

I'm interested in learning how a virtual machine/sandbox actually works. I have developed an 8051 emulator and also wrote a dissassembler for x86, so this part of a virtual machine is not really the ...
-2
votes
3answers
111 views

Why don't interpreters interpret bytecode (like VMs) - instead of source code? [closed]

Edited the question to be more clear: It is known that interpreting bytecode is much faster than interpreting source code or some IL version of the source code. The interpreter has a much easier time ...
-2
votes
3answers
195 views

Are there programming languages that their programs don't run on a VM or natively, but rather on an interpreter? [closed]

In this question I presented an idea I have for a simple programming language. The way programs written in this language will be run, is inside an interpreter written in Java, which will interpret the ...
0
votes
3answers
95 views

Would this interpreter be considered a Virtual Machine? [closed]

(I reworded my question to make it more specific). Consider a programming language, that it's programs may only be run inside a specific program that serves as an interpreter. The interpreter scans ...
3
votes
5answers
234 views

Virtual machine for a high level programming language vs an operating system

It struck me recently that a virtual machine for a high level programming language is very much like an OS. It manages resources, e.g. stack, heap, etc. similar to how an operating system manages ...
0
votes
4answers
161 views

What exactly is Virtual Machine Bytecode? [closed]

I want to work on a very simple compiler for a very simple language. The compiler will compile the code to some basic bytecode. Later, a virtual machine program will run the bytecode, and execute the ...
3
votes
2answers
219 views

Speed difference between VM-based and compiled code [closed]

Not so long ago I was told by a senior academic that, these days, VM-based code could run nearly as fast as compiled code, but my own experience is that compiled code runs several orders of time ...
7
votes
4answers
1k views

How do I explain to my boss what a 'Virtual Machine' means? [closed]

Most probably my boss didn't write a single word on a keyboard in his entire life. He saw computers and he has a cell phone. He is a smart man. How can I explain to him what a 'virtual machine' is? ...
0
votes
1answer
150 views

Limitations of using Hyper-V Virtual Machine as .NET Development enviroment

I've been thinking of using a Hyper-V Machine as instead of physical computer for installing my .NET / Azure / Xamarin / ASP.NET / Windows Phone development tools. That way I could easily move from my ...
-1
votes
1answer
69 views

HA X11 server with Anycast and Remus, will 25ms Remus sync buffer create a problem for the typical X11 app? [closed]

I am thinking to try and configure VM infrastructure to achieve high availability for X11 server by utilizing Anycast router (e.g. utilizing Quagga) and Remus Xen server for master-slave HA. So far, I ...
2
votes
2answers
172 views

Is virtual machine image a good protection for source code?

We have developed an application that is sold as an online service. After some time we realized that some of customers would need/prefer/require to have it installed locally on their intranet. However ...
7
votes
4answers
579 views

Why not free memory as soon as its reference counter hits zero [duplicate]

A lot of languages like Java and C# have garbage collectors that free memory when that memory no longer has any reference. Yet they don't immediately free it after the reference counter hits zero but ...
1
vote
3answers
289 views

Interpreter or virtual machine that does not execute bytecode

The developers of the Dart language tell that there is a virtual machine that executes statements written in Dart language. What is the difference between an interpreter and a virtual machine that ...
2
votes
2answers
223 views

What is the advantage of a programmers VM apart from portability [duplicate]

I can understand the benefits of Java running on a JVM. Portability. Nice simple reason. But I have always been puzzled as to why Microsoft brought out their own version of a JVM - .NET. C# is ...
8
votes
1answer
240 views

What's the relationship between meta-circular interpreters, virtual machines and increased performance?

I've read about meta-circular interpreters on the web (including SICP) and I've looked into the code of some implementations (such as PyPy and Narcissus). I've read quite a bit about two languages ...
2
votes
3answers
200 views

What is the job of a language virtual machine, and creating one [closed]

Recently I have become incredibly interested in language development. The past few weeks I have written many language front ends (lexer, parser) including a calculator language/expression parser and ...
-5
votes
1answer
230 views

Are there any flaws in this Programming Language / Virtual Machine design? [closed]

I am building a Virtual Machine and I think I have a perfect program design but I am worried as I don't have too much experience on this field there might be flaws. Before I'll tell you how it'll ...
2
votes
1answer
150 views

Representing floating-point numbers in bytecode

How do interpreted languages typically go about representing floating-point numbers in their bytecode? For example, suppose I've got a Java program with the line double a = 3.0; What does 3.0 look ...
10
votes
3answers
366 views

Which are the alternatives to using a stack to represent function call semantics?

We all know and love that function calls are usually implemented using the stack; there are frames, return addresses, parameters, the whole lot. However, the stack is an implementation detail: ...
3
votes
2answers
275 views

How did the term “hypervisor” come into use?

I've read about the "hypervisor" in hardware virtualization. VMs are not my area, so I can't quite see where the term came from. THe wikipedia article talks about how "the hardware's supervisor ...
40
votes
11answers
3k views

Are there any reasons not to accept a software deliverable as a virtual machine?

This is a question about logistics, not a technical question. My company has outsourced some embedded software work. Specifically, we have payed a contractor to develop an embedded system for us ...
5
votes
1answer
525 views

Setting up a development environment in the cloud? [closed]

I'm interested in transitioning my development environment onto the cloud. I currently use VirtualBox with Vagrant to manage separate virtual machines for each individual project. What would be the ...
6
votes
1answer
260 views

Difference between language virtual machine and emulating vm?

I'm having a hard time understanding the difference between an emulation virtual machine and a language vm. I started with the research and implementation of an emulation virtual machine. Primarily ...
2
votes
2answers
422 views

Which are the fundamental stack manipulation operations?

I'm creating a stack oriented virtual machine, and so I started learning Forth for a general understanding about how it would work. Then I shortlisted the essential stack manipulation operations I ...
2
votes
1answer
246 views

Is there a way to get the version of Ubuntu that Google uses for development? [closed]

Is there a way to get the version of Ubuntu that Google uses for development? Even better would be a full up VMWare or Virtual Box Virtual Machine image that might include a full complement of ...
12
votes
3answers
8k views

Why would more CPU cores on virtual machine slow compile times?

[edit#2] If anyone from VMWare can hit me up with a copy of VMWare Fusion, I'd be more than happy to do the same as a VirtualBox vs VMWare comparison. Somehow I suspect the VMWare hypervisor will be ...
2
votes
2answers
319 views

How to devise instruction set of a stack based machine?

Stack based virtual machines like CLR and JVM has different set of instructions. Is there any theory behind devising the instruction set while creating a virtual machine? e.g. there are JVM ...
1
vote
1answer
348 views

what programming languages and skills are necessary to learn hypervisor development?

I would like to know the skills and programming languages necessary to learn hypervisor development and any good resource to start learning?
19
votes
4answers
2k views

Why aren't there other programming languages that compile to Python bytecode?

In Java, there are multiple languages that compile to Java bytecode and can run on the JVM -- Clojure, Groovy, and Scala being the main ones I can remember off the top of my head. However, Python ...
4
votes
2answers
256 views

Isolated environment for software stacks

I was sure that I would find this question, but I couldn't. How to create an isolated development environment? It other words, a sandbox, where I can install different combinations of web servers, ...
2
votes
1answer
276 views

Virtual Machines And Unit/Integration Testing Web Application

I am in the process of adding unit testing to a project I am working on at work and a suggestion came up that I should use VMs to populate the database with good data. This was suggested as an ...
3
votes
1answer
204 views

Architectural considerations for a new black box program

I see an emerging trend in "cloud" computing to move work load to a third-party server and get charged pennies for amount of work done in this way. This could be anything from file hosting to user ...
3
votes
6answers
4k views

Best solution to run a Linux sandbox on my Windows machine? [closed]

I'd like to develop some node.js on my windows machine by using a virtual linux server that runs as a program and that I would access through ssh. I'd like this virtual linux instance to access the ...
6
votes
1answer
537 views

What language is the CLR written in?

Just out of curiosity, what language is the CLR written in? I read on the Java Virtual Machine wikipedia entry that it is programmed in C++; is this the same for the CLR? Sorry if this is off-topic, ...
14
votes
7answers
4k views

Java IDE written in pure Java? [closed]

Is there a Java IDE written in Java? I just got my year 9 DET laptop today at school, and there are all sorts of restrictions set in place. Somewhat annoyingly, you cannot run any executable other ...
0
votes
1answer
180 views

How to deploy a heterogeneous server application to customers?

We have a bigger application server which customers would like to have deployed locally. It consists of an MySQL server database, a REDIS database, multiple Web servers for sub parts, a NGINX reverse ...
4
votes
1answer
418 views

Is there any license restriction to avoid binary translation of CIL to custom bytecode?

Prior to actual question, let me summarize what I'm trying to do. I plan to implement a small, JIT-enabled, register-based VM runtime. Instead of making a proper compiler (which is hard IMO) for a ...
-2
votes
1answer
217 views

Should we embed virtual machines rather than languages

Ok, so I am trying to learn front-end programming. Trying to figure out how javascript is a pain, and various projects (GWT, Coffeescript, Capuccino's objective/j...) are trying to fix this with ...
2
votes
2answers
261 views

What is the best way to maintain software tool chains?

Short Question What is the best way to create, maintain, and distribute software development tool chains? Background I am trying to develop a workflow / process to create an isolated environment in ...
1
vote
3answers
763 views

Does it violate the license to use Windows XP Mode with Virtual Box?

I am working on a team developing a client-side application. We work in a Linux environment, but the server we work with can only be run from a Windows environment. As such, each developer is being ...
46
votes
17answers
9k views

Thoughts on Development using Virtual Machines [closed]

I'll be working as a development lead for a startup and I've suggested that we use VMs for development. I'm not talking about each developer having a desktop with VMs for testing/development, I mean ...
3
votes
5answers
892 views

Disposable Virtual Machines for QA environments [closed]

I'm far from an expert in virtualization, so pardon my ignorance. I've had this idea (really doubt it's original, haven't looked much into the topic) of "disposable" virtual machines for QA ...
3
votes
1answer
567 views

Distributing my Application inside a Debian Virtual Machine Image— How to meet GPL obligations?

I have a Linux application I've developed, and I have created a standalone VMWare Image that people can download to try out the application without needing to install and configure a Linux Server. I ...
5
votes
8answers
701 views

Slow developer machines - approach with vmware good?

we are using slow developer notebooks. They come equipped with vista and 2 gb rams, which slows down everything. Someone decided a good resolution would be to use vmware clients instead of faster pc ...
0
votes
2answers
210 views

How do you handle the need to have multiple development environments?

How do you deal with different project environments? Every project might require a different database (oracle, IBM db2, mysql & etc), a different server (tomcat, IBM WAS, weblogic & etc) or ...
4
votes
4answers
4k views

Recommendations on running Visual Studio inside a VMWare VDI environment?

Does anyone have experience running Visual Studio inside a VDI environment? Would you recommend it? Would you advise against it? Our Background Our department is one of the few in the ...
4
votes
2answers
471 views

What do you think of an interpreter written in Java? [closed]

I am currently working on the implementation of a new programming language, for fun. I realize that most languages never become popular, but I still want the language to have a high-quality ...
2
votes
6answers
2k views

Good Laptop .NET Developer VM Setup [closed]

I was torn between putting this question on this site or SuperUsers. I've tried to do a good bit of searching on this, and while I find plenty of info on why to go with a VM or not, there isn't much ...
5
votes
6answers
373 views

Are there issues with learning to program on a Virtual Machine?

I'm not a programmer, but financial analyst by profession who is learning how to code (Python, Django, C w/ ctypes when I need something to go really fast) in a virtual Ubuntu setup on my work laptop. ...
14
votes
11answers
4k views

Reasons to Use a VM For Development [duplicate]

Background: I work at a start-up company, where one team uses Virtual Machines to connect to a remote server to do their development, and another team (the team I'm on) uses local IIS/SQL Server ...