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

yew
Madoshakalaka
Madoshakalaka commented Nov 25, 2021

This is about:

  • Other (Important Tips)

Component communication might deserve a dedicated page.

Ancestor -> Descendant

straightforward: passing props. Using a context if the descendants can be too deep down the tree.

Descedant -> Ancestor

This is not very obvious. In fact, two people asked the same question on Discord in one day. And personally, I had no clue either despite h

BStringhamVRSK
BStringhamVRSK commented Aug 12, 2021

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

enhancement good first issue web
assemblyscript
emilk
emilk commented Feb 20, 2021

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

help wanted good first issue docs and examples
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

“连续六年成为全世界最受喜爱的语言,无 GC 也无需手动内存管理、极高的性能和安全性、过程/OO/函数式编程、优秀的包管理、JS 未来基石" — 工作之余的第二语言来试试 Rust 吧。<<Rust语言圣经>>拥有全面且深入的讲解、生动贴切的示例、德芙般丝滑的内容,甚至还有JS程序员关注的 WASM 和 Deno 等专题。这可能是目前最用心的 Rust 中文学习教程/书籍

  • Updated Apr 3, 2022
  • Rust
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 {
  
help wanted good first issue js-sys
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
Be-ing
Be-ing commented Jan 23, 2022

It would be nice if using the built-in debug function in .60 files autogenerated Rust code which used the debug macro from the log crate. This would allow applications to choose the logging implementation instead of always printing directly to standard out. It would also be nice to add functions for the other log levels (trace, info, warn, error).

good first issue
jkelleyrtp
jkelleyrtp commented Feb 11, 2022

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

good first issue
Organization
WebAssembly
Website
webassembly.org
Wikipedia
Wikipedia

Related Topics

asmjs javascript