Skip to content
#

webassembly

web-assembly logo

WebAssembly (abbreviated Wasm) is a binary instruction format for a stack-based virtual machine. Wasm is designed as a portable target for compilation of high-level languages like C/C++/Rust, enabling deployment on the web for client and server applications.

Here are 3,004 public repositories matching this topic...

assemblyscript
rth
rth commented Nov 13, 2021

I think it would be helpful to have more example in docstrings on how to use various functions and methods exposed in Pyodide. The general approach could be to,

  • have a short description documenting the function/method/class and its parameters/return value
  • include an example, ideally that is run as a doctest (we need to figure out how to do this) otherwise those will get outdated in time
help wanted good first issue
fitzgen
fitzgen commented Dec 11, 2020

In bytecodealliance/wasmtime#2497 (comment) we added support for generating nested modules, and we generate these modules by concatenating strings of WAT and then passing it to Module::new which internally checks for WAT strings and assembles them into Wasm bytes if necessary.

We can make this more efficient, improving the number of test cases we fuzz in a

good first issue fuzzing
uno
MartinZikmund
MartinZikmund commented Mar 28, 2022

Current behavior

Might be specific to Samples app, but requires investigation if this sequence of events is handled properly in general.

Expected behavior

Should not cause exception.

How to reproduce it (as minimally and precisely as possible)

  1. Open Samples app on Android
  2. Press the hardware back button to "close" the app
  3. Switch to the app using task switcher on Android (
kind/bug good first issue platform/android project/core-tools
thomasballinger
thomasballinger commented Aug 1, 2021

Related to metering wasm3/wasm3#127 and being able to run a set number of instructions, I'd like to be able to serialize a paused interpreter's state and deserialize it to a new interpreter instance; very roughly,

const interp = new wasm3.Interpreter(module);
interp.interpretNInstructions(100);
const interpState = interp.serializeState();
const interp2 = wasm3.In
feature help wanted good first issue
ballercat
ballercat commented Oct 14, 2018

Problem

walt-cli package when linking multiple .walt files together can "wrap" the modules in a stand-alone JS module. The resulting module is too large because it serialized the dependency tree with the AST information encoded directly into the output, resulting in a massive amount of js.

Encoding the dependencies into the file is done to ensure the module can be used stand-alone in br

Organization
WebAssembly
Website
webassembly.org
Wikipedia
Wikipedia

Related Topics

asmjs javascript