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 3,280 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.
It would be helpful to be able to change the name of the 9p file share.
https://github.com/copy/v86/blob/4eb1e5035e91490c5aeebab45553d5043cd84b95/lib/9p.js#L82
For dynamically generating mount tags:
/**
* @param {string} mountTagName
*/
function genMountTagArray(mountTagName) {
/**
* @type {Number[]}
*/
let _mountTagArray;
Array.from(mountTagName
-
Updated
Jul 4, 2022 - Rust
Feature
Many existing test cases check that pickle.dumps
and pickle.loads
of a given type return the exact same value. Almost failed pickle test in RustPython, lack __reduce__
method.
-
arrayiterator.__reduce__
(test_array::test_iterator_pickle) -
filter.__reduce__
(test_builtin::test_filter_pickle) — #3732 -
map.__reduce__
(test_builtin::test_map_pickle) — #3734
~/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
-
Updated
Jun 27, 2022 - JavaScript
-
Updated
Jul 3, 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
Summa
-
Updated
Jul 4, 2022 - Rust
fuzzing: Use `wasm-encoder` rather than generating WAT text and then assembling it in dummy imports
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
-
Updated
Jun 25, 2022 - JavaScript
-
Updated
Jun 21, 2022
On which page?
https://platform.uno/docs/articles/guides/uno-material-walkthrough.html
What's wrong?
Step 2 within the "Section 2: Using Uno.Material library" section makes reference to Chip/ChipGroup/Card/Divider which have now all been moved to the Uno.Toolkit.UI.Material package.
These changes will also need to be reflected in the referenced UnoMaterialSample, an issue tracking
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
Having a callback for when the selected element is changed would be useful, for similar reasons to TextEdit
/LineEdit
: validation, updating buffers, or the rest. I imagine that it would be something like selected(int)
with int
being the index, though LineEdit
emits a simple callback without arguments so there may be a tradeoff I'm missing (an int should be easier to pass around on the oth
-
Updated
Jul 4, 2022 - C#
Specific Demand
When resolving assets, we should determine of the current program is contained within a bundle. If it is, then we should cananocalize the asset differently to be relative to the .app
/.deb
/.rpm
/.exe
for a smoother distribution experience.
- macOS
These targets do not provide a straightforward way of bundling assets. I've opted to make it the asset dir configu
-
Updated
Mar 23, 2022 - Rust
-
Updated
May 6, 2022 - Go
Bug type
Other
Component name
No response
What happened?
The enum value OverflowBehavior.FilpOnOpen
works. The correct spelling OverflowBehavior.FlipOnOpen
does not.
Expected behavior
Rename the value to OverflowBehavior.FlipOnOpen
Reproduction link
https://github.com/MudBlazor/MudBlazor/blob/dev/src/MudBlazor/Enums/OverflowBehavior.cs
Reproduction steps
- Organization
- WebAssembly
- Website
- webassembly.org
- Wikipedia
- Wikipedia
Problem
I am returning to WebGL work after some time away (with Vulkan) so may be misinterpreting something here, but...
The WebGL example loops through the
render_gl
function every frame. Therefore it's recompiling the shaders, linking them, all of this work that doesn't need to be repeated in the render loop.Steps To Reproduce
Steps to reproduce the behavior:
Start the app as