Skip to content
#

wasm

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

yew
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
raylib
raysan5
raysan5 commented Apr 29, 2020

There are +115 code examples provided with raylib, some of them contributed by several authors.

There could be some assets used on the examples that lack a license file (sometimes because it was just not available or not provided by the author). It should be reviewed.

All assets used in raylib examples should include a license and it should be a permissive license (free to use/distribute).

mstange
mstange commented Jul 5, 2019

Motivation

I am using the following pattern to efficiently initialize a large buffer inside wasm memory from JavaScript without copies (see #1079 for full motivation):

#[wasm_bindgen]
pub struct WasmMemBuffer {
    buffer: Vec<u8>,
}

#[wasm_bindgen]
impl WasmMemBuffer {
    #[wasm_bindgen(constructor)]
    pub fn new(byte_length: u32, f: &js_sys::Function) -> Self {
  
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
yumetodo
yumetodo commented Mar 19, 2020

💡 Feature description

JSDoc comment is a well-known tool to add a document in code/d.ts file.

JavaScript/Typescript language server recognizes jsdoc comment so that famous editor's IntelliSense recognizes jsdoc.

However, As far as I know, there is no way to add JSDoc comment. So, currently, I need to create a wrapper npm package to control d.ts.

uno
mathiversen
mathiversen commented Jul 18, 2019
  • There seems to be a bug when navigating to the catch_all route but not contributors, ex. localhost:7878/test. The current implementation panics using both rocket and actix as server.
  • Rocket currently has 404 for unknown routes and this should be added to the actix example as well.
ospencer
ospencer commented Mar 22, 2020

Let's add methods for these:

some # checks that at least one item in the list is true for a given condition
every # this should just be a rename of for_all
nth # gets the nth item in the list
filter
reject # opposite of filter
count # counts how many elements satisfy a given condition
hd # gets the first item in the list
tl # returns the list without the first item
flatten # tak
Organization
WebAssembly
Website
webassembly.org
Wikipedia
Wikipedia

Related Topics

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