Re:CIL (.NET bytecode) to WebAssembly compiler
by lmm on Thursday September 03, 2015 @03:06AM
(#10163667)
It's a pretty weak static type system, and it retains javascript's other warts (e.g. scoping). And if I'm going to have to do a separate compilation step anyway then I might as well use a nicer language.
Re:CIL (.NET bytecode) to WebAssembly compiler
by jimbobimbo on Thursday September 03, 2015 @01:08PM
(#10166103)
TypeScript treats "let" correctly, while transpiling it down to ES3/5 that have no concept of "let".
Perhaps you should just look into using TypeScript? It's basically ES6 with static typing.