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

Simplify SDK with go:wasmexport #100

Open
hariso opened this issue Dec 5, 2024 · 0 comments
Open

Simplify SDK with go:wasmexport #100

hariso opened this issue Dec 5, 2024 · 0 comments

Comments

@hariso
Copy link
Contributor

hariso commented Dec 5, 2024

Feature description

The Processor SDK is currently communicating with Conduit through a "command-and-response" loop, where the Processor SDK runs a loop in which it asks Conduit for a new command to execute. The commands are actually processor methods, e.g. Open, Process, etc. The reason for this is that WASM modules that are written in Go cannot export functions.

However, the go:wasmexport directive is going to be added to Go 1.24. Using this directive and simply exporting all of the processor methods would simplify our code.

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

No branches or pull requests

1 participant