wasm

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 2,905 public repositories matching this topic...
fitDataset() expects a Dataset that produces elements of a certain shape, with matching batch sizes etc., and throws errors (from standardizeDataIteratorOutput()) when the conditions are not met. These errors should be tested.
JavaScript Request: Expose Texture methods getWidth(), getHeight(), getDepth(), getLevels(), etc.
Problem:
After using Engine.createTextureFromKtx/jpeg/Png, I need to query the texture width and height so I can generate proper UV coordinates for font display.
Proposed solution
Expose the Texture.getWidth(), getHeight(), etc. methods to get texture information. I currently only need width and height, but I can see usage cases for many of the other "getters" available in the C++ in
It is awkward, but TypeScript officially supports using .js
in import specifiers, like so:
import {foo} from './path/to/some/file.js'
console.log(foo)
where ./path/to/some/file.js
does not actually exist, but th
Newcomer issues
copy/v86#431copy/v86#333 (add a mute button and/or fix the "requires a gesture" warning).A volume selector would also be nice.There's a minor issue where holding down and moving the mouse on the screen selects text outside of the screen on FirefoxRetry XHR requests that fail with 5xx or time out, with exponential backoff- Add configuration via url parameters (http
-
Updated
Feb 28, 2022 - Rust
-
Updated
Dec 30, 2021 - JavaScript
~/go/src/go.googlesource.com/go/src/compress/flate $ tinygo test -c compress/flate && ./flate.test
~/go/src/go.googlesource.com/go/src/compress/flate $ go test -c && ./flate.test
PASS
Summa
-
Updated
Feb 28, 2022 - C
Tracking issue for improving the egui docs. Other suggestions for improvements welcome!
All doc-examples need to be part of the doctests (i.e. they should never be marked ignore
, though no_run
can maybe sometimes be motivated).
egui
The crate-level docs for egui
(at https://docs.rs/egui generated from egui/src/lib.rs
) sh
-
Updated
Feb 26, 2022 - JavaScript
Seems like an oversight on our part.
I'm imagining that we would
- Make the default amount of fuel
0
in the CLI - Add a
--add-fuel <N>
option to addN
fuel to the store
I think (1) miiiiight be slightly controversial? As an alternative, we would have a --set-fuel <N>
option, instead of --add-fuel <N>
, and then we would have to ensure that the store gets exactly N
fuel rathe
-
Updated
Feb 17, 2022
Current behavior
When trying to use chrome's autocomplete, autocomplete appears with a white background, which creates havoc along with PlaceholderText
<img width="385" alt="image" src="https://user-images.githubusercontent.com/3002
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 {
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
-
Updated
Feb 28, 2022 - Rust
Describe the bug
The SubMenu component log to console True/False
when the key of the submenu is == "
-
Updated
Jan 21, 2022 - Rust
-
Updated
Nov 2, 2021 - Go
At the moment, there is no password input field (nor an option for an existing input) that renders passwords as "*" (or something similar). Am I missing something?
Most of the macros exported by seed are undocumented, see: https://docs.rs/seed/0.7.0/seed/#macros
It would be good if at least the most commonly used are documented with an example.
-
Updated
Jan 29, 2022
- Organization
- WebAssembly
- Website
- webassembly.org
- Wikipedia
- Wikipedia
The project is on 2021 (#2338). Docs should be updated
Questionaire