Consider a user-space emulator #64
Comments
This might be of your interest, although it doesn't fully answer your question: https://github.com/cervus-v/cervus |
Decent idea. Maybe it'd be a good idea to move the wasm compilation into a separate crate so it can be used by something other than nebulet. The main issue here is that, when it's fully developed, the nebulet environment will be quite alien compared to linux/windows/etc. To emulate nebulet would essentially require running nebulet, itself, in user-space. Actually, it would be feasible to separate the kernel part of nebulet and the environment part of nebulet. Nebulet would then turn into a wasm platform that could be run in any environment. |
@lachlansneff in the link provided by @levex, there are references to a CommonWA experimental specification for non-web WebAssembly. I have no idea if this has any traction. Alternatively, maybe something like CloudABI (capability-oriented POSIX-like) could be a starting point for an environment for nebulet? |
I'm familiar with the CommonWA specification. It's an interesting idea, but I think it's destined to fail, at least while wasm is not fully realized. It should be discussed more though. Having a standardized api for non-web wasm would be a good idea. |
A user-space emulator for Linux, etc, would be very useful, as it would enable one to develop applications for Nebulet without requiring a fully-virtualized Nebulet instance.
The text was updated successfully, but these errors were encountered: