Click here to Skip to main content
15,893,508 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello All,

I want to develop a virtual environment like sandbox.
I don't know the concept behind this. can any one please give me some concepts, how this is working, and how to implement.

Thanks in advance.
Posted
Comments
Albert Holguin 2-Dec-11 10:43am    
Why the MFC tag on this?
Jayant Narayan Dash 5-Dec-11 5:05am    
actually i don't know which technology is better for this. as i know MFC so i tagged it. :)

1 solution

A sandbox is simply a virtualized environment, running some sort of code, in which you carefully control the resources that the code can access.

It can be thought of as a simulated computer...

Often the environment will run code as pseudocode, or a form of machine or assemble language. Languages such as python, java, C/C++ etc might be compiled to run the instruction set supported by the environment.

You can build a sandbox from many of the current scripting languages fairly easily.

If the scripting language supports embedding, then you can construct a sandbox for it to run in.

Some simple ones to start with, might be Python and TCL/TK.
 
Share this answer
 
v2
Comments
Jayant Narayan Dash 5-Dec-11 5:07am    
HI Jack,

thanks for your information. still i don't know how to start... so i'll try with Python scripting :(
JackDingler 5-Dec-11 9:06am    
You're tackling a very advanced topic. There's no simple answer that will tell you how to do it. And no single, right way to do it.

It's on the level of asking, "How do I make an automobile?"

You might start by researching what a sandbox is. Determining what you need it for. Researching language options and choosing one that fits the task.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900