This is neat, though I wonder how much cognitive overhead comes from swapping between two languages. IDE support becomes more complicated too, as does all of the other tools we use to improve software development practice and experience.
WASM seems like a better approach. If every language can have a WASM runtime built in and can also target WASM, then the developer is free to choose the language they work with and import a library without caring what language it was written in. I don't know the guts of WASM runtimes, but it seems like their idea for meta-tracing ought to be possible and with source maps, could make for a pretty good experience.
I'm particularly interested in the CUE + WASM work going on. It can lead to a place where the evaluator can schedule the granular code lazily and based on dependencies and inputs.
WASM seems like a better approach. If every language can have a WASM runtime built in and can also target WASM, then the developer is free to choose the language they work with and import a library without caring what language it was written in. I don't know the guts of WASM runtimes, but it seems like their idea for meta-tracing ought to be possible and with source maps, could make for a pretty good experience.
I'm particularly interested in the CUE + WASM work going on. It can lead to a place where the evaluator can schedule the granular code lazily and based on dependencies and inputs.