3 ms·
Now all this needs is a simple OS running in a browser, that can edit and compile itself, post the resulting binary onto a WebDAV somewhere, and reload itself f
by whytevuhuni 2y ago
Now all this needs is a simple OS running in a browser, that can edit and compile itself, post the resulting binary onto a WebDAV somewhere, and reload itself from there.
Then it becomes a fully self-sustaining OS that can live forever in a browser.
- dangerwill 2y agoVery interesting idea but I have to say that those goals are not possible with a simple OS, at least by OS definitions of simple :P
- whytevuhuni 2y agoThe old https://webassembly.sh/ https://webassembly.sh/ and the new https://wasmer.sh/ https://wasmer.sh/ came a long way already. All you need is a virtual filesystem of some sort, a way to download, a way to upload, an editor, a compiler, and a VT100 JS library. We already have WASI for the rest. If the JS is too undesired, then perhaps go the old framebuffer graphics mode (e.g. a region of the WASM memory that is interpreted as an ASCII screen, or maybe even as a full bitmap buffer). Then JavaScript side just needs to forward keyboard/mouse into memory and that screen region out of memory.
- Arshia001 2y agoThe framebuffer idea is used in this wasm doom port: https://github.com/diekmann/wasm-fizzbuzz/tree/main/doom https://github.com/diekmann/wasm-fizzbuzz/tree/main/doom WASIX already does all the other stuff you mentioned, including in the browser. The one thing it's missing is GUI, mainly because there's no standard GUI interface in POSIX.
- baudaux 2y agoIt is possible. I already embedded chibicc in exaequOS. I will continue with xcc and clang
- jauntywundrkind 2y agoAnd then use webrtc (or ideally someone can revive a webtransport-p2p please!) to serve itself from a page to other people. Ideally http3 over webtransport-p2p! Then add some network discovery so we can advertise & find what's available on our networks!
- spirodonfl 2y agoDo you have a proper link to the webtransport-p2p idea? I've done a few searches but I think there's some mix of current implementation and deprecated implementation somehow. What is it that needs reviving?
- jauntywundrkind 2y agoThe spec is inactive, afaik, no implementations. Got it backwards, pardon, p2p-webtransport. https://github.com/w3c/p2p-webtransport https://github.com/w3c/p2p-webtransport I don't know why it's fallen off, to be honest, or what was raised against it. Highly desireable to a lot of p2p folk, a very promising webrtc datatransport replacement.
- d_philla 2y agoCheck out Jeff Lindsay's Wanix project: https://wanix.sh/ https://wanix.sh/
- baudaux 2y agoSomething like exaequOS? https://exaequos.com https://exaequos.com
- deleted 2y ago[deleted]