Skip to content

Commit

Permalink
Merge pull request #1 from DangerOnTheRanger/wasm-alternative-considered
Browse files Browse the repository at this point in the history
[WIP] Add WebAssembly alternative section.
  • Loading branch information
jpbetz authored Jun 17, 2021
2 parents ffd76fa + e40bc3e commit 82505d1
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -923,7 +923,11 @@ See Open Policy Agent (https://github.com/open-policy-agent/opa/tree/main/rego).

### WebAssembly

TODO
WebAssembly was considered as an alternative to CEL, up to having a [proof-of-concept implementation](https://github.com/jpbetz/omni-webhook/blob/main/validators/wasm.go).
However, all current WebAssembly runtimes require `cgo` to build, something that
might be difficult to integrate into api-server. Additionally, passing strings across
a WebAssembly boundary is currently dependent on the target language, so any supported
target language would need a small shim library to be supported.

### jq

Expand Down

0 comments on commit 82505d1

Please sign in to comment.