Re:New Features in C# 7.0
by kevin_thibedeau on Thursday March 09, 2017 @06:59PM
(#13835051)
I wouldn't be surprised if Typescript becomes native in the next decade. That will address some of the sins of JS and make Webassembly less of a hack.
[ Parent
| on HN ]
I emphatically disagree with the assertion that WebAssembly is a hack. Maybe asm.js is a hack... but WebAssembly is fairly well thought out.
I don't expect TypeScript to compile easily to WebAssembly. You'd have to write your on GC and do a bunch of other work that you get for free when you target JavaScript... and that means that there are plenty of opportunities do make your runtime worse than your target browser's runtime, at the cost of increased code size to boot.