r/virtualization • u/angry_cactus • 4d ago
Does it make sense to create a browser-based VM, that allocates either a sandboxed terminal or GUI + terminal window for AI agent work or any other work inside of it?
People say Chromium is inefficient, and it is sometimes, but everybody is running 16 tabs at 400 mb at once anyway.
Is there demand for a browser-based VM either within Chrome or in an Electron app, that uses the browser-like harness to help dynamically allocate CPU memory, storage, and GPU resources? Could this be secured properly or does it open too many holes?
With AI the overhead of the VM and the overhead of chromium processes could probably be optimized together for that specific use case.
Please steal my idea before I'm done. I would love if someone took this running and finished it before I can.
1
u/wahnsinnwanscene 4d ago
It's either a cgroup thing or a cpu hypervisor thing. I don't think a browser is able to do the syscalls for the latter without enhanced privileges.