News for hackers. Stuff that matters.
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.
Re:New Features in C# 7.0 by klodolph on Thursday March 09, 2017 @07:10PM (#13835111)
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.

Re:New Features in C# 7.0 by cwyers on Thursday March 09, 2017 @07:59PM (#13835412)
The goal is for WebAssembly to get access to the same GC as JavaScript eventually, right? Not mandatory, but available.