This was just announced, for D: https://www.mail-archive.com/[email protected]/msg38951.html Spasm - webassembly libary for single page applications
Maybe something worth exploring in Nim, to do nim=>wasm directly instead of nim=>js
- produce more efficient code on the browser via wasm
- (perhaps) avoid some limitations of js backend