The Wayback Machine - https://web.archive.org/web/20201113043300/https://github.com/topics/wasm
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,723 public repositories matching this topic...

yew
assemblyscript
niaow
niaow commented Jul 6, 2020

In order for interrupt-based wake-ups (as introduced by #1142) to work concurrently with time.Sleep, we need to make some per-board changes.

Previously, sleepTicks (the function used as an interface between the scheduler and the hardware timer) was defined to block until the timer completed, since there was nothing else to do. Now we need to change this so that it bails out when an interrup

raylib
trikko
trikko commented Nov 1, 2020

MeshNormalSmooth() takes a vertex and iterates all the others, looking for vertices with a distance < epsilon.
Then it calculates their normals and sums it.

That's not a good idea, IMO:

  • Two close vertices can be not physically linked, I don't think summing normals makes sense.
  • It's quadratic.

A simpler and faster way to smooth a model could be:

  • Iterating through each triangle
uno
SetTrend
SetTrend commented Jul 28, 2020

What would you like clarification on:

I read that Uno renders all controls in Windows style and there is an option somewhere deep in Uno to have some of the controls render in native OS style.

I believe it's crucial to be able to switch an application's (or page's) property to render controls using native styles wherever applicable (and to be able to switch back to Windows style again when

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 {
  
peblair
peblair commented Sep 12, 2020

When adding our new number system in, the values we pass to our overflow exception were a bit of a rush job. These should ideally be improved, whether that be with more specific variants of GRAIN_ERR_OVERFLOW (e.g. GRAIN_ERR_OVERFLOW_PLUS) or just more consistency about what the user sees. Currently, we essentially just pick one of the numbers and display it to the user (which isn't super info

Organization
WebAssembly
Website
webassembly.org
Wikipedia
Wikipedia

Related Topics

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