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 1,174 public repositories matching this topic...
Description
Integrating web-sys
support has allowed yew
to depend on gloo
for ergonomic web APIs. However at the time of writing, gloo
hasn't implemented the proposed api for files
Proposed Solution
We should consider upstreaming `Rea
As @TimvanScherpenzeel pointed out, cmgen should better explain that --size applies to the DFG LUT as well and that a cubemap and the LUT cannot be generated at the same time.
It would be cool if ./node_modules/.bin/asinit . --yes
would answer all questions with yes to allow for quick or automatic project setups of throw away projects.
Interface could work like npm init --yes
:
$ npm help init
NPM-INIT(1) NPM-INIT(1)
NAME
npm-init - create a package.json file
Synopsis
The following code compiles without problem:
func main() {
ch := make(chan bool)
js.Global().Call("setTimeout", js.FuncOf(func(this js.Value, args []js.Value) interface{} {
println("sending")
ch <- true
println("sent")
return nil
}), 2000)
println("waiting")
<- ch
println("done")
}
When executed in the browser, the following is outputted:
waiting
s
As discussed in #1219
Implemented for wasi in #1229
unsafe
requires manual verification that the function is being used correctly. In order to be able to manually verify, we must document which in invariants must be upheld. This is usually done in the # Safety
section of a doc comment.
- Runtime core
- Runtime
- Clif backend
- LLVM backend
- Singlepass backe
-
Updated
Feb 24, 2020
Describe the bug
VimWasm.cmdline()
runs given command, but screen is not updated. To avoid this, appending | redraw
to the command is necessary.
Steps To Reproduce
- Visit https://rhysd.github.io/vim.wasm/?debug=1
- Open DevTools console
- Run
vim.cmdline('edit ~/.vim/vimrc')
Expected behavior
Screen renders the content
Tech Doc?
Great framework. I am amazed by how easy it is to set up.
I believe there are 2 kinds of docs which are missing:
- Tutorials and concepts explanations
- Discussion and articles of how its core is designed and implemented.
This first one is for users to quickly start to write applications. It has examples right now, but not enough. The communities can probably contribute examples slowly.
This should be added to support the Tor folks!
Inspired by bytecodealliance/lucet#405
The number of arguments here is getting out of hand, and it's easy to forget all the places that must be updated when adding a new one. For example, the new functionality in #405 is only available via the API, not the command line. Cleaning this up, and perhaps even sharing a data structure with the command-line parser would improve
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 {
It'd be nice to add run tests for the following condition codes:
- eq with non-zero values
- gt with non-zero values
- ge with non-zero values
Start from https://github.com/CraneStation/cranelift/blob/master/filetests/isa/x86/icmp-i128.clif and add more tests in there!
The link to the Javascripte polyfill source code in https://github.com/bytecodealliance/wasmtime/blob/master/docs/WASI-intro.md#the-browser-polyfill seems to be broken. I got to the document via wasi.dev.
🐛 Bug description
wasm-pack does not recognize README.rst
🤔 Expected Behavior
The readme should be recognized as being there.
👟 Steps to reproduce
create a readme.rst
🌍 Your environment
Include the relevant details of your environment.
wasm-pack version: 0.8.1
rustc version: 1.35.0 (3c235d560 2019-05-20)
Who uses asm-dom?
-
Updated
Feb 20, 2020 - TypeScript
I keep having to open up the reference to figure out what each menu item is supposed to do (e.g. dust). It would be helpful to provide a small popup on the mouse or otherwise that shows the description of each element as you hover over it in the menu.
Giving this converter that converts bytes[]
to a BitmapImage()
public class ByteArrayToImageConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, string language)
{
if (!(value is byte[] bytes))
return null;
var image = new BitmapImage();
#if WINDOWS_UWP
Suggestion / feature request: List which languages / compilers support source maps, and which do not.
- 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.
-
Updated
Feb 24, 2020 - C
Since the Grain .wasm
files can't be run without the Grain runtime, they should probably have a more distinct default extension such as .gr.wasm
to make them easier to distinguish from other .wasm
files.
-
Updated
Feb 20, 2020 - C++
When you have two numerical constants with the same value, the svg shows them with the name of the first constant declared in the script.
This applies to both faust2svg
and https://faust.grame.fr/tools/editor/
Example code:
gain1 = 0.4;
gain2 = 0.4;
process = _ : gain1 * _ : gain2 * _;
generates
<img width="463" alt="screen shot 2019-01-13 at 22 40 29" src="https://user-image
Hi!
We want to make Seed's website and documentation as good as possible.
If you want to help a little bit, please see those issues for more info:
- Feedback for Website - seed-rs/seed-rs.org#3
- Feedback for Readme.md - seed-rs/seed#302
Thank you!
admin/instance/remove
could take an extra boolean clean
parameter, which if true, also deletes the instance's storage.
Alternatively, add the option to admin/instance/add
(perhaps calling it replace
in this case), which will cause storage to be cleared if it already exists.
Use case:
During development, let's say I have been testing my DNA with a particular instance. Now I want to
- Organization
- WebAssembly
- Website
- webassembly.org
- Wikipedia
- Wikipedia
Reference from TensorFlow: https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/matrix-band-part
This op is used by the Music Transformer model.