Earlier quoted context omitted.
Because "wasm-wasi" is not a CPU that Linux runs on.
But, if docker is running on WASM-WASI like it is here, maybe it's possible to do a full build toolchain as well?
Container2wasm: Convert Containers to WASM Blobs
21–30 of 72 posts
Re: Container2wasm: Convert Containers to WASM Blobs
#22Powered by a x86->Wasm JIT. Technical writeup: https://labs.leaningtech.com/blog/webvm-server-less-x86-virt...
Re: Container2wasm: Convert Containers to WASM Blobs
#23Is this a "why not" project, or are there real-world use cases for this?
Being able to run ANY Docker container directly in the browser is incredibly useful. The most obvious application is educational environments - this makes it trivial to provide all sorts of software for students to tinker with without needing to run any server-side code anywhere, just some static file hosting.
Re: Container2wasm: Convert Containers to WASM Blobs
#24Earlier quoted context omitted.
Newt: My mommy always said there were no monsters, no real ones, but there are. Ripley: Yes, there are, aren't there? Newt: Why do they tell little kids that? Ripley: Most of the time it's true. --- But yes, I do believe this has a strong, serverless future.
Downloading a 50MB WASM blob to run an emulator to boot a Linux kernel and then start an HTTP server to handle a single request is utter madness, which is probably why this will become popular to do.
Re: Container2wasm: Convert Containers to WASM Blobs
#25I've been looking for a way to run GUI applications remotely for a while, specifically on a wlroots compositor. Projects like this (maybe one day) and https://github.com/udevbe/greenfield are interesting since they essentially make access universally accessible.
Re: Container2wasm: Convert Containers to WASM Blobs
#26Re: Container2wasm: Convert Containers to WASM Blobs
#27Do any GUI frameworks support WASM? I've been looking for a way to run GUI applications remotely for a while, specifically on a wlroots compositor. Projects like this (maybe one day) and https://github.com/udevbe/greenfield are interesting since they essentially make access universally accessible.
Dioxus [1] and about a dozen other libraries are attempting to be write-once, deploy web, mobile, desktop with native performance. They adopt a React-like component UI.
The Rust ecosystem is full of stuff. There are lots of different approaches too - immediate mode drawing, canvas drawing [2], etc.
Choosing a winner is the hard part. There are too many projects and no clear community-elected leader.
Re: Container2wasm: Convert Containers to WASM Blobs
#28Maybe these containers should be build for wasm-wasi instead of x86 from the beginning? Then there would be no need to emulate x86 in wasm
Because "wasm-wasi" is not a CPU that Linux runs on.
Re: Container2wasm: Convert Containers to WASM Blobs
#29Shameless self-promotion: https://webvm.io Powered by a x86->Wasm JIT. Technical writeup: https://labs.leaningtech.com/blog/webvm-server-less-x86-virt...
Re: Container2wasm: Convert Containers to WASM Blobs
#30Do any GUI frameworks support WASM? I've been looking for a way to run GUI applications remotely for a while, specifically on a wlroots compositor. Projects like this (maybe one day) and https://github.com/udevbe/greenfield are interesting since they essentially make access universally accessible.