WASI the new way of writing apps — Rutile News

Franklin Waller
Dec 9, 2019 · 2 min read
Image for post
Image for post

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.

PlayOS

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

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.

Rutile

Fee-less decentralized application platfrom

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch

Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore

Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store