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

Zig SDK #249

Open
jedisct1 opened this issue Mar 31, 2021 · 1 comment
Open

Zig SDK #249

jedisct1 opened this issue Mar 31, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@jedisct1
Copy link

Hi!

Is your feature request related to a problem? Please describe.

Not a problem, but it may be great to have a SDK for the Zig language.

Zig has excellent support for WebAssembly out of the box, and produces small, fast, memory-efficient modules that are a perfect fit for realtime applications such as Envoy filters.

Describe the solution you'd like

Add a Zig equivalent to the existing, excellent SDKs.

Describe alternatives you've considered

Using AssemblyScript, but the Zig compiler produces WebAssembly modules that are far more optimized for realtime applications, while remaining safer than C and more accessible than Rust.

Additional context

https://ziglang.org

@jedisct1 jedisct1 added the enhancement New feature or request label Mar 31, 2021
@Sodman
Copy link
Member

Sodman commented Mar 31, 2021

Hi @jedisct1! I'm not personally familiar with Zig, but if somebody were to create a zig SDK to conform to the proxy-wasm runtime spec, it should work with wasme today using the wasme build precompiled command on the filter.wasm file that you could output using zig's toolchain. If such an SDK gets built then we could also bundle the toolchain to do the wasm build itself, similar to how TinyGo builds work with wasme today.

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

No branches or pull requests

2 participants