This is quite cool... But at the same time, please tell me this is not the future of software packaging.
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.
Container2wasm: Convert Containers to WASM Blobs
11–20 of 72 posts
Re: Container2wasm: Convert Containers to WASM Blobs
#12Is this a "why not" project, or are there real-world use cases for this?
Re: Container2wasm: Convert Containers to WASM Blobs
#13This is quite cool... But at the same time, please tell me this is not the future of software packaging.
Then I am all for it.
Re: Container2wasm: Convert Containers to WASM Blobs
#14Maybe 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
Re: Container2wasm: Convert Containers to WASM Blobs
#15Is this a "why not" project, or are there real-world use cases for this?
WASM is more or more being used to extend applications with custom functions/plugins, as well as function-as-a-service services. But they usually require writing custom code, specifically for these environments.
The ability to build standard containers, use any languages and tools, run shell scripts, etc. makes WebAssembly far more accessible. Complex applications can be tested natively, and deployed effortlessly later to environments that require WebAssembly.
From a performance perspective, this is not optimal. But from a productivity perspective, this is awesome, and definitely something to have in your toolbox when all you need is get things done.
Re: Container2wasm: Convert Containers to WASM Blobs
#16Maybe 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
#17Wow, haven’t seen Bochs mentioned since I was doing hobby OS development 15 years ago. I guess there’s not a ton of emulators that don’t use JIT or hardware extensions these days.
Re: Container2wasm: Convert Containers to WASM Blobs
#18Re: Container2wasm: Convert Containers to WASM Blobs
#19Re: Container2wasm: Convert Containers to WASM Blobs
#20 FROM riscv64/alpine:20230208
RUN apt-get update && apt-get install -y curl
The demo really is Debian, but it seems like the docs are confused about which images use Alpine instead.