Cross-platform apps are becoming more and more important for businesses. We want to target all platforms with as little as effort as possible. WebAssembly allows you to run your code everywhere and WASI allows you to use the same methods across devices. We wanted to help developers and give them 2 more platforms.
We already announced WASI support for PlayOS through Wasmer. But we wanted to go a step further. The power of PlayOS is that you can continue right where you left off. The browser is merely just another platform for running your applications. That’s why we are decoupling the core from the front end. This allows us to use the core on different platforms and run the application natively on the OS.
With this change, we greatly simplified the way of writing providers. Currently, it’s just 5 methods that you have to implement. We did this by doing the heavy lifting beforehand such as encryption and figuring out which parts of the system should be uploaded. We hope this makes the barrier lower for developers to write their own providers.
Rutile already had WASM support but it was using non-standard methods that were inspired by eWASM. But we came to realize that using eWASM is very unfriendly and very limited to use. That’s why we added support for WASI methods. You program your app like you were writing and reading on a standard UNIX file system. This greatly simplifies the experience and allows developers to quickly get familiar with Rutile and writing blockchain apps.