WASM WASI compatibility
Hello! Just wanted to bring some discussion about this topic.
There is this big fancy train call WASM that will surely get far and seems to me that people jumping on board might benefit form its momentum. And what better that a new fresh, secure and lightweight OS? It might be already to late to make Redox completely Web Assembly centric but some adaptations could be made to make it play better with wasm apps using the Web Assembly System Interface? The plan of WASI is to have a modular set of non web system APIs so WASM apps can run outside of the web in a secure way, currently they started with the core API system calls to implement basic IO functionality.
I don't know much about anything but in my simple way to see things I would seem that if Redox syscalls heppen to be the same as WASI and a WASM app targeting this kind of runtime is run using a JIT compiler built-in or compiled ahead of time at "installation" time, the app just "just work"? What do you guys think about being more web assembly friendly? does it deviate too much from the design choices of Redox? ultimately I just want to see this project to succeed, been a patreon for some time and see an opportunity there to gain back momentum that has been lost over time.
As web technologies supporter I would definitely be very exited to see a WASM centric OS whether is Redox based or not, WASI runtimes will be popular and Operating systems built around it will be used, for sure there will be linux distros just for that that will see a big success in the cloud for example but I rather see Redox there ;) on the plus side all this wasm stuff compilers and runtimes are being written in Rust so they would integrate much nicely with Redox than with any other OS.
What do you think? makes some sense?