git-proxy icon indicating copy to clipboard operation
git-proxy copied to clipboard

Add first class support for WASM-backed plugins

Open M1K8 opened this issue 1 year ago • 3 comments

Is your feature request related to a problem? Please describe. If a user wishes to write business logic using existing libraries in other languages (i.e. Go, Rust), if they target WASM they will be able to run it in a plugin context.

Describe the solution you'd like First class support for importing and executing a WASM blob.

M1K8 avatar Feb 28 '24 22:02 M1K8

Thanks for creating the issue, @M1K8 👍

@coopernetes - thoughts here? You've mentioned WASM before in the context of #99.

JamieSlome avatar Feb 29 '24 10:02 JamieSlome

I'm attaching this to our 2.x milestone. With #425 I think we can absolutely build this in as a first class interface to allow Git Proxy to interact with the non-JS/TS ecosystem. Our first target will be a simple TypeScript API and importing 3rd party code as Node modules. WASM can be a fast-follow once we have that API established.

WASM is the most sensible approach IMO and much preferred over something like C bindings for 3rd party extensions that are not natively supported via Node.

I'm marking this as a roadmap feature and we may need a few releases to iterate on before we can truly implement this.

coopernetes avatar Mar 04 '24 18:03 coopernetes

Thank you @M1K8 for your contributions! I was wondering if you'd be interested to join our bi-weekly Zoom meeting where we coordinate around project activities; if that's the case, please email [email protected] and I'll send out all the info you need to join. Thank you!

maoo avatar Mar 13 '24 09:03 maoo