# Wasmtime and Wasi

**URL:** <https://revolt.metaeducation.com/forum/t/wasmtime-and-wasi/1151>\
**Category:** WASM\
**Created:** [April 30, 2019, 4:57am UTC](https://revolt.metaeducation.com/forum/t/wasmtime-and-wasi/1151 "2019-04-30T04:57:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![gchiu](https://revolt.metaeducation.com/forum/user_avatar/revolt.metaeducation.com/gchiu/32/22_2.png) [@gchiu](https://revolt.metaeducation.com/forum/u/gchiu)\
**Post date:** [April 30, 2019, 4:57am UTC](https://revolt.metaeducation.com/forum/t/wasmtime-and-wasi/1151/1 "2019-04-30T04:57:57Z")

</div>

[Wasmtime](https://github.com/CraneStation/wasmtime) is a web assembly runtime that runs WebAssembly code outside of the web. It supports the new spec, [WASI: WebAssembly System Interface](https://github.com/CraneStation/wasmtime/blob/master/docs/WASI-overview.md).

Is thing going to be like node.js and allow us to run the Rebol WASM servers with full I/O ?

---

<div class="post-metadata">

**Author:** ![Mark-hi](https://revolt.metaeducation.com/forum/user_avatar/revolt.metaeducation.com/mark-hi/32/212_2.png) [@Mark-hi](https://revolt.metaeducation.com/forum/u/Mark-hi)\
**Post date:** [April 30, 2019, 6:46am UTC](https://revolt.metaeducation.com/forum/t/wasmtime-and-wasi/1151/2 "2019-04-30T06:46:48Z")

</div>

Non sequitur. Both wasmtime and WASI are unstable prototypes, not "specs", and hence no useful conclusions can or should be reached about them, whether such involve Rebol or not.

---

<div class="post-metadata">

**Author:** ![gchiu](https://revolt.metaeducation.com/forum/user_avatar/revolt.metaeducation.com/gchiu/32/22_2.png) [@gchiu](https://revolt.metaeducation.com/forum/u/gchiu)\
**Post date:** [April 30, 2019, 6:52am UTC](https://revolt.metaeducation.com/forum/t/wasmtime-and-wasi/1151/3 "2019-04-30T06:52:47Z")

</div>

A [working party](https://hacks.mozilla.org/2019/03/standardizing-wasi-a-webassembly-system-interface/) is moving towards a spec

Mozilla spake:

> Today, we announce the start of a new standardization effort — WASI, the WebAssembly system interface.

And it seems that we should try to have some input into this. And wasn't Carl attempting to do this? Write for an abstracted interface, a machine that didn't exist. Which is what this appears to be what about.

---

<div class="post-metadata">

**Author:** ![hostilefork](https://revolt.metaeducation.com/forum/user_avatar/revolt.metaeducation.com/hostilefork/32/421_2.png) [@hostilefork](https://revolt.metaeducation.com/forum/u/hostilefork)\
**Post date:** [July 1, 2022, 3:11pm UTC](https://revolt.metaeducation.com/forum/t/wasmtime-and-wasi/1151/4 "2022-07-01T15:11:35Z")

</div>

> [@gchiu](#):
>
> And wasn't Carl attempting to do this? Write for an abstracted interface, a machine that didn't exist. Which is what this appears to be what about.

Here we are, three years later...

...and in terms of another outcome of [building for WasmEdge](https://revolt.metaeducation.com/forum/t/ren-c-is-now-on-the-clouds-with-wasi/1854), we are actually on the verge of being able to have one **%r3.wasm** file that can run on Linux, Mac, and Windows...

Of course, you need a WASI runner. There are several emerging to choose from, prominently:

- WasmTime [https://wasmtime.dev/](https://wasmtime.dev/)

- Wasmer [https://wasmer.io/](https://wasmer.io/)

I gave it a shot, and the console actually starts in both. But it crashes when you try to scan a line.

I'll look into it. But these won't be too usable for anything right here today in on July 1st 2022, until files and networking are sorted out.

**However** in light of my remarks on having a Wasm focus and not getting into the mire of trying to distribute native executables, I will say this looks like the way forward

One %r3.wasm file to rule them all. ⚔

---

<div class="post-metadata">

**Author:** ![gchiu](https://revolt.metaeducation.com/forum/user_avatar/revolt.metaeducation.com/gchiu/32/22_2.png) [@gchiu](https://revolt.metaeducation.com/forum/u/gchiu)\
**Post date:** [July 5, 2022, 10:48am UTC](https://revolt.metaeducation.com/forum/t/wasmtime-and-wasi/1151/5 "2022-07-05T10:48:21Z")

</div>

And Android as well?

> **[Redirecting...](https://wasmedge.org/book/en/os/android/ndk.html)**
