{"repo":"bytecodealliance/wit-bindgen","free":true,"listed":false,"github":"https://github.com/bytecodealliance/wit-bindgen","clone":"git clone https://github.com/bytecodealliance/wit-bindgen.git","description":"A language binding generator for WebAssembly interface types","language":"Rust","stars":1444,"topics":["webassembly","interface-types","wasi","rust","module-linking","wasmtime"],"license":"Apache-2.0","category":"dev-tools","readme_excerpt":"wit-bindgen Guest language bindings generator for WIT and the Component Model A Bytecode Alliance project About [zulip]: https://bytecodealliance.zulipchat.com/#narrow/stream/327223-wit-bindgen This project is a suite of bindings generators for languages that are compiled to WebAssembly and use the [component model]. Bindings are described with [ .wit files][WIT] which specify imports, exports, and facilitate reuse between bindings definitions. [WIT]: https://component-model.bytecodealliance.org/design/wit.html [component model]: https://github.com/WebAssembly/component-model The wit-bindgen repository is currently focused on guest programs which are those compiled to WebAssembly. Languages developed in this repository are Rust, C, C++, C#, and Go. For other languages see the documentation below. Executing a component in a host is not managed in this repository, and some options of how to do so are [described below][hosts]. If you encounter any problems feel free to open an issue or chat with us on [Zulip][zulip]. [WIT] as an IDL The wit-bindgen project extensively uses [WIT] definitions to describe imports and exports. The items supported by [WIT] directly map to the component model which allows core WebAssembly binaries produced by native compilers to be transformed into a component. All imports into a WebAssembly binary and all exports must be described with [WIT]. An example file looks like: This describes a \"world\" which describes both imports and exports that the WebAss","default_branch":null,"files":null,"tree":[],"storefront":"/r/bytecodealliance","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/bytecodealliance/wit-bindgen/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}