examples icon indicating copy to clipboard operation
examples copied to clipboard

A collection of AssemblyScript examples.

Results 10 examples issues
Sort by recently updated
recently updated
newest added

Trying to build and load the examples with a recent version of Chrome and Safari on macOS Monterey arm64 gives the following error in console.log: LinkError: WebAssembly.instantiate(): Import #0 module="env"...

It is not obvious how to use `@assemblyscript/loader` with the browser sdk example, I had to download the loader separately but I see there are some instantiate bits in the...

Can we create examples per feature instead of examples per *whatever*? Because I need examples with simd and reference types (in future) but I can’t find it. Also seems examples...

Perhaps one of the more simpler requests of an example, which has a complicated solution. If WASI is implemented, this would be a call to `fd_write`. If they aren't, then...

It would be awesome to have a usage example for transforms that showed how to transform some code. I want to try implementing a custom decorator as a preprocessor macro...

question

I get a problem when trying to access an uninitialized `wasmModule`. I used the example given [here](https://github.com/AssemblyScript/examples/blob/3133266957950d5e3c5ffe0d28efbd85c1f2bbe2/loader/index.js#L12). I was attempting to perform a synchronous instantiation.

question

Running the loader example results in ``` > @assemblyscript/[email protected] test > node tests Example 1: /tmp/examples/loader/node_modules/@assemblyscript/loader/umd/index.js:174 if (id !== STRING_ID) throw Error(`not a string: ${ptr}`); ^ Error: not a string:...

Hi there. I'm new to WebAssembly and AssemblyScript ... I was looking to speed up JavaScript code and started to play around with it. So I had a question: I...

![image](https://github.com/AssemblyScript/examples/assets/7501201/2c6b446c-9d2a-437b-b2a3-63290f0dec1f)

Inspected examples here : https://github.com/AssemblyScript/examples We have a web assembly SDK implemented in C++. Want to be able to link AssemblyScript to to it. So need to be able to...