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 1,663 public repositories matching this topic...

aykevl
aykevl commented Apr 19, 2020

There are a few flags that currently don't have proper error checking. The ones I found are -gc, -scheduler and -size. Using the wrong value will lead to no or unexpected errors.

I think the best way to handle it is to add a new method to compileopts.Config that checks whether there are any faulty flags, which is then called from the main function.

wasmer
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

minexew
minexew commented Apr 2, 2020

Env:

  • python 3.8
  • capstone 4.0.1
  • ubuntu 18.04 (WSL)

Repro:

import capstone
md = capstone.Cs(capstone.CS_ARCH_X86, capstone.CS_MODE_32)
md.detail = True

# case 1
# expected: fstcw  WORD PTR [ebp-0x4] (based on Objdump disassembly which round-trips with GNU as)
for insn in md.disasm(b"\x9B\xD9\x7D\xFC", 0):
    print(insn.address, insn.mnemonic, insn.op_str)

print(
pdugre
pdugre commented Mar 30, 2020

Hi!

I am using the wasm2js tool on a WebAssembly module written in Rust using wasm-bindgen(no emscripten involved) to generate code that works on Internet Explorer. However, since I added a new library which internally makes use of i64, this import has been added to the wasm2js output:

import { getTempRet0 } from 'env';

From what I understand, this method is used by

bradleypeabody
bradleypeabody commented Sep 15, 2019

Right now if you make a something.vugu and manually create a something.go and then run vugugen or the devserver, ParserGo will happy clobber your something.go file with its output.

It should instead look inspect the file first to ensure it has the appropriate "DO NOT EDIT" comment in it before overwriting.

mijamo
mijamo commented Apr 30, 2020

I think it would help users to have some clear information directly accessible about:

  • What version of WebAssembly is currently supported and if there is any feature that is not supported (right now it is quite straightforward but better having it displayed clearly)
  • Which of the WebAssembly proposals are supported (from https://github.com/WebAssembly/proposals)
  • Which WASI snapshop is sup
uno
patrickdevivo
patrickdevivo commented Apr 25, 2020

Hi there! I wanted to propose adding the following badge to the README to indicate how many TODO comments are in this codebase:

TODOs

The badge links to tickgit.com which is a free service that indexes and displays TODO comments in public github r

Organization
WebAssembly
Website
webassembly.org
Wikipedia
Wikipedia

Related Topics

asmjs javascript
You can’t perform that action at this time.