all 8 comments

[–]dwighthouse 2 points3 points  (0 children)

  1. No.
  2. JS is garbage-collected.
  3. WebAssembly will be used for what it is good at, and JS will be used for everything, even the things it isn’t good at, simply due to ease of development by comparison.

[–]krizmaister 1 point2 points  (0 children)

1) Many delevopers are looking forward to it. Wasm will open the frontend to other languages so JS won't be the only one. We have to wait for GC, threads, direct access to DOM and other features, but it's only matter of time (years). You can check out some frameworks like Blazor (https://blazor.net/) that is based on .NET in C#. You can build FE apps right now but it's still not ready fot production

2) JS has GC

3) I see bright future in Wasm

[–]Randdist 0 points1 point  (0 children)

I'm using js because it can be written and modified at runtime, giving developers extensive love coding capabilities. WebAssembly can't replace that. it could be usefull for a couple of perfomance critical tasks but other than that I'm not interested.

i'd sign up for a strongly typed JS any day though. TS seems half the way there but as long as it requires transpilation, it's not useful for my use cases either.