Rust or modern C(++) (haven’t done any “proper” C in years), specifically for compiling to WASM. Alternatively something else that emerges as the de facto compiled to WASM language.
Mini 2022 prediction: WASM (and webGPU) are going to become universal, not just on front end and at the edge but everywhere as a universal deployment system. The next generation of Arm processors, particularly from apple, will have optimisations for WASM.