Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to start a proxy-wasm-XXLang-sdk from scratch? #37

Open
liweijian opened this issue Feb 25, 2023 · 1 comment
Open

How to start a proxy-wasm-XXLang-sdk from scratch? #37

liweijian opened this issue Feb 25, 2023 · 1 comment

Comments

@liweijian
Copy link

The combination of envy and wasm seems awesome, I'd like to help adding another programming language for it.

There're rust and c++ sdk here already, just wondering how to take the first step for that? Like, any docs or tutorial that I need to read first or something?

@PiotrSikora
Copy link
Member

There is more, actually: AssemblyScript, C++, Rust, Go (TinyGo), Zig (see: the list of Proxy-Wasm SDKs).

One approach is to start from scratch and try to implement a single feature (e.g. add HTTP request headers). Once you have that working, keep adding features until you reach the complete set.

Another approach is to try to reimplement one of the existing SDKs in another language (AFAIK, AssemblyScript SDK started as reimplementation of C++ SDK, and Go SDK started as reimplementation of Rust SDK, but it evolved a lot since then).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants