Re:Web frameworks are transforming from runtime libraries in...
by giancarlostoro on Monday September 11, 2017 @04:24AM
(#15216918)
Sounds like you need to read up just a little bit on Web Assembly which is compiled from anything including C, C++, Rust and just about any language. Including Python and others. Web Assembly will make syntax irrelevant for web scripting and JavaScript entirely optional depending on how much WebASM is allowed to access.
Re:Web frameworks are transforming from runtime libraries in...
by coldtea on Monday September 11, 2017 @05:35AM
(#15217212)
>Web Assembly will make syntax irrelevant for web scripting and JavaScript entirely optional
That's what many think, but that's not what WASM is for though. It's still a foreign world to the DOM, and not a first class citizen like JS.
It's more about driving canvas games or offloading some expensive computations than actually writing your app in WASM as opposed to JS.
Re:Web frameworks are transforming from runtime libraries in...
by Schampu on Monday September 11, 2017 @04:38AM
(#15216971)
As soon as Webassembly ships garbage collection and the authors are willed to create a Wasm backend for the given language.
Re:Web frameworks are transforming from runtime libraries in...
by amelius on Monday September 11, 2017 @05:18AM
(#15217135)
The hope is that one day it will be possible to implement an efficient concurrent GC in WASM. However, right now it still lacks the primitives (e.g. locking primitives, shared memory, and memory barrier instructions).
Developers want everything from JavaScript to C++, Python and Haskell. There's no way a browser can specifically address all what developers want. Therefore browsers should become better virtual machines.
Edit: yup, WASM is a good start.