4 ms·
I'm curious, what's the use case for CUE in a WASM environment? So that web apps can compile configuration at runtime?
by kinghajj 3y ago
I'm curious, what's the use case for CUE in a WASM environment? So that web apps can compile configuration at runtime?
- stanleydrew 3y agoHaven't looked at it, but I assume the use-case is opposite of your suggestion, i.e. CUE wants to offer some kind of plugin integration and embedding a WASM runtime is the safest way.
- verdverm 3y agoIt's also to enable you to do non-CUE things in CUE or do things more efficiently (in the long run). Think of things like topological sort or processing a value recursively. Places where an imperative system is so much easier to do something.
- verdverm 3y agoThis is WASM in CUE, to unlock more possibilities while still preserving the language semantics. You can already do CUE via WASM, this is how the playground works. https://cuelang.org/play/?id=#cue@export@cue https://cuelang.org/play/?id=#cue@export@cue