The possibility of using WASM was at least under discussion last month:
https://github.com/microsoft/edit/issues/17