Questions tagged [virtual-machine]
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.
120 questions
-5 votes
2 answers
221 views
In cloud (say AWS), what is the difference b/w golden image and hardened image of OS?
I have tried to search a lot but all I get is their definitions which more or less sound similar. I would like to know if they are same? If not, what are specific differences?
0 votes
1 answer
186 views
Bytecode format and loading in language VMs
I am thinking about how to build a language VM. I have been able to get some of the basic constructs right, including jumps to functions within the chunk of bytecode that is currently loaded. But now ...
1 vote
2 answers
124 views
How a VPS processes an incoming packet (conceptually)
I'm interested in understanding, conceptually (e.g., similar to how many of the concepts in networking are explained in textbooks like Tanenbaum's Computer Networks, or Kurose's Computer Networking), ...
1 vote
0 answers
81 views
VM-images: how protect time-license programs?
One big customer asked me to supply my program to run within a balanced VM-images structure; I mean, the program will be recorded into an image which will be launched in "instances" to ...
-3 votes
1 answer
223 views
Is there any reason I shouldn't use a LInux host for a Linux guest VM?
I'm a developer and my typical environment is to use is a Linux guest OS running inside VirtualBox on a Windows host. Most software companies don't allow developers to install Linux bare metal on ...
3 votes
2 answers
130 views
How do language implementations implement native-extension class instantiation?
I'm writing a language interpreter in C. I'm currently implementing a system that allows writing extension modules in C for the interpreter. These modules are loaded into a code file like a normal ...
6 votes
1 answer
1k views
Why is it difficult to create a truly portable garbage collector for C?
When reading the Python docs for writing C extensions, one can find the following text in the part about CPython's garbage collection strategy (emphasis mine): ... The disadvantage [of automatic ...
3 votes
1 answer
209 views
How can one bake a GUI framework inside an interpreter without freezing the interpreter?
I am writing a bytecode interpreter in C for a simple programming language. I want to add GUI capabilities to the language. As a first step, I decided to bake into the interpreter a wrapper for the ...