Stream: git-wasmtime

Topic: wasmtime / PR #1782 Add documentation for building progra...


view this post on Zulip Wasmtime GitHub notifications bot (May 28 2020 at 20:35):

sunfishcode opened PR #1782 from wasm-assemblyscript to master:

Thanks to @dcodeIO and @torch2424 for their help answering my questions!

view this post on Zulip Wasmtime GitHub notifications bot (May 28 2020 at 20:46):

fitzgen submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (May 28 2020 at 20:46):

fitzgen submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (May 28 2020 at 20:46):

fitzgen created PR Review Comment:

Might be worth inlining the "hello, world" example, as we do for the Rust docs.

view this post on Zulip Wasmtime GitHub notifications bot (May 28 2020 at 21:01):

torch2424 submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (May 28 2020 at 21:01):

torch2424 created PR Review Comment:

Yoooo Whaddup @fitzgen ! :smile:

Yeah I agree, totally inlining this here would be a good move.

I would add as:


For example, to compile an AssemblyScript module with WASI, you could write the following AssemblyScript code:

hello-world.ts

import "wasi";
import {Console} from "as-wasi";

Console.log('Hello World!\n');

Which uses as-wasi as a dependency to make working withe AssemblyScript WASI bindings easier. Then, you can run:

asc hello-world.ts -b hello-world.wasm

To get a wasm module that will print "Hello World!" to stdout.


Or something along those lines :smile:

view this post on Zulip Wasmtime GitHub notifications bot (May 28 2020 at 21:02):

torch2424 edited PR Review Comment.

view this post on Zulip Wasmtime GitHub notifications bot (May 28 2020 at 21:02):

torch2424 edited PR Review Comment.

view this post on Zulip Wasmtime GitHub notifications bot (May 28 2020 at 21:34):

sunfishcode updated PR #1782 from wasm-assemblyscript to master:

Thanks to @dcodeIO and @torch2424 for their help answering my questions!

view this post on Zulip Wasmtime GitHub notifications bot (May 28 2020 at 21:42):

sunfishcode submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (May 28 2020 at 21:42):

sunfishcode created PR Review Comment:

Thanks! I've now copied the content inline and covered it in the doc.

view this post on Zulip Wasmtime GitHub notifications bot (May 28 2020 at 21:46):

sunfishcode updated PR #1782 from wasm-assemblyscript to master:

Thanks to @dcodeIO and @torch2424 for their help answering my questions!

view this post on Zulip Wasmtime GitHub notifications bot (May 28 2020 at 22:21):

torch2424 submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (May 28 2020 at 22:21):

torch2424 submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (May 28 2020 at 22:21):

torch2424 created PR Review Comment:

Just wanted to make sure your cool with the license and me being the author. Feel free to change to whichever you think is best for the wasmtime repo :smile:

view this post on Zulip Wasmtime GitHub notifications bot (May 29 2020 at 00:16):

sunfishcode submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (May 29 2020 at 00:16):

sunfishcode created PR Review Comment:

Thanks for the heads up! I think we can leave it as is for now.

Of course, if you'd ever like us to change it, feel free to reach out.

view this post on Zulip Wasmtime GitHub notifications bot (May 29 2020 at 00:16):

sunfishcode merged PR #1782.


Last updated: Oct 23 2024 at 20:03 UTC