spiderlightning
wit-bindgen
Our great sponsors
spiderlightning | wit-bindgen | |
---|---|---|
1 | 21 | |
193 | 561 | |
10.9% | 13.4% | |
10.0 | 8.0 | |
10 days ago | 5 days ago | |
Rust | Rust | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
spiderlightning
-
Wasmtime Reaches 1.0: Fast, Safe and Production Ready!
Yes, wit-bindgen is the way forward here. It's under active development, though a lot of the basic interface-types functionality is implemented and usable. As an example of it in action, check out the wit interface files in this project: https://github.com/deislabs/spiderlightning/blob/main/docs/primer.md
wit-bindgen
-
Quick tip: Numeromancy, WebAssembly and SingleStoreDB Cloud
wit-bindgen-rust = { git = "https://github.com/bytecodealliance/wit-bindgen.git", rev = "60e3c5b41e616fee239304d92128e117dd9be0a7" }
-
Using WASM for a plugin system in Rust? (generate code at runtime and then hot reloading it as a library)
Yep, you're right. For this, there are a few options. The ones most relevant to you are fp-bindgen, which targets Wasmer, and wit-bindgen, which targets wasmtime.
Yes, wasm_bindgen is js only. At least for now, in future I would also expect it to migrate to component model. There is also cargo-component which is a way to create modules compatible with component model. You define your module interface in WIT and your dependencies on other wasm modules in the similar way you would define crate dependencies. Alternately there is wit-bindgen that is a codegen tool for multiple languages that also accepts WIT as input.
-
Introducing Ambient 0.1: a runtime for building high-performance multiplayer games and 3D applications, powered by Rust, WebAssembly and WebGPU
Are you evaluating if WebAssembly Component Model, its WIT format and related tooling like wit-bindgen could be a good fit for your multiple languages support?
Our plan is to stick with both a Rust host and guest to begin with, and start developing other offerings as required. All of our bindings are implemented on top of wit-bindgen, which acts as our data transfer layer - as long as your guest language is supported by wit-bindgen, you'll be able to use the runtime in some form. (Our bindings make it nicer to use, though 😆)
-
Using SingleStoreDB, WebAssembly and GraphQL
[package] name = "sentiment" version = "0.1.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] wit-bindgen-rust = { git = "https://github.com/bytecodealliance/wit-bindgen.git", rev = "60e3c5b41e616fee239304d92128e117dd9be0a7" } vader_sentiment = { git = "https://github.com/ckw017/vader-sentiment-rust" } lazy_static = "1.4.0" [lib] crate-type = ["cdylib"]
-
Using wasm as a scripting language, is it possible to allow normal, unsandboxed, OS functions?
That is possible! Think wit-bindgen is something you should take a look at. With wit you can archive what you want :)
-
WebAssembly: Adding Python Support to WASM Language Runtimes
Wasmtime's `wasmtime-py` embedding in python has support for Wasm Components: https://github.com/bytecodealliance/wasmtime-py#components (disclosure, I helped create it)
The remaining piece of the puzzle would be to create a wit-bindgen guest generator https://github.com/bytecodealliance/wit-bindgen#guests for this build of the python interpreter. You could then seamlessly call back and forth between the host and guest pythons, without even knowing that wasmtime is under the hood.
-
Wasmer takes WebAssembly libraries mainstream with WAI
Interesting little discussion linked about this fork of WAI from wit-bindgen:
-
Extism: Make all software programmable with WebAssembly
Is the interface defined through wit?
What are some alternatives?
lunatic - Lunatic is an Erlang-inspired runtime for WebAssembly
kwasm - Proof of concept React-ish UI library, powered by WebAssembly
webassembly-tour - ⚙️ Take you through a tour of WebAssembly (WASM targets on WASI) with wasmCloud, Krustlet, WAGI, etc. 🌟 Give it a star if you like it.
wasi-experimental-http - Experimental outbound HTTP support for WebAssembly and WASI
component-model - Repository for design and specification of the Component Model
spin - Spin is an open source framework for building and running fast, secure, and composable cloud microservices with WebAssembly
wasmer - 🚀 The leading WebAssembly Runtime supporting WASI and Emscripten
wasmtime - A fast and secure runtime for WebAssembly
bartholomew - The Micro-CMS for WebAssembly and Spin
wasi-vfs - A virtual filesystem layer for WASI.
witx-codegen - WITX code and documentation generator for AssemblyScript, Zig, Rust and more.
spec - WebAssembly specification, reference interpreter, and test suite.