Skip to content

Commit 5ab27c5

Browse files
authored
Update intro blurb about supported languages (bytecodealliance#1336)
Bringing some documentation up-to-date.
1 parent 3cdfa70 commit 5ab27c5

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

README.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ between bindings definitions.
3030
[component model]: https://github.com/WebAssembly/component-model
3131

3232
The `wit-bindgen` repository is currently focused on **guest** programs which
33-
are those compiled to WebAssembly.
34-
Languages developed in this repository are Rust, C, Java (TeaVM
35-
Java), Go (TinyGo), and C#.
33+
are those compiled to WebAssembly. Languages developed in this repository are
34+
Rust, C, C++, and C#. For other languages see the [documentation
35+
below](#guest-other-languages).
3636

3737
Executing a component in a host is not
3838
managed in this repository, and some options of how to do so are [described
@@ -392,7 +392,7 @@ wit-bindgen-go generate <path-to-wit-pkg>
392392

393393
### Guest: C++-17+
394394

395-
The cpp crate contains code to generate C++ code which uses the std types
395+
The cpp crate contains code to generate C++ code which uses the std types
396396
optional, string, string_view, vector, expected to represent generic
397397
WIT types.
398398

@@ -426,16 +426,19 @@ To avoid touching the files during regeneration (including `moon.pkg.json` or `m
426426

427427
### Guest: Other Languages
428428

429-
Guest component support for JavaScript and Python is available in
430-
[componentize-js](https://github.com/bytecodealliance/ComponentizeJS) and
431-
[componentize-py](https://github.com/bytecodealliance/componentize-py), respectively.
429+
A (non-exhaustive) list of other languages known to support components are:
430+
431+
* JavaScript through [componentize-js](https://github.com/bytecodealliance/ComponentizeJS)
432+
* Python through [componentize-py](https://github.com/bytecodealliance/componentize-py)
433+
* Go through [wit-bindgen-go](https://github.com/bytecodealliance/go-modules).
434+
432435
See also
433436
[The WebAssembly Component Model developer's guide](https://component-model.bytecodealliance.org/language-support.html)
434437
for examples of how to build components using various languages.
435438

436439
Other languages such as Ruby, etc, are hoped to be supported one day
437440
with `wit-bindgen` or with components in general. It's recommended to reach out
438-
on [zulip] if you're intersted in contributing a generator for one of these
441+
on [zulip] if you're interested in contributing a generator for one of these
439442
langauges. It's worth noting, however, that turning an interpreted language into
440443
a component is significantly different from how compiled languages currently
441444
work (e.g. Rust or C/C++). It's expected that the first interpreted language

0 commit comments

Comments
 (0)