Re:Experimental support for WebAssembly in V8
by matt4077 on Tuesday March 15, 2016 @04:35PM
(#11292777)
I'm getting somewhat excited about swift. It's quite a modern language syntactically and python/ruby-like productivity may not be out of reach. Yet it leaves managed languages in the dust performance-wise (factor 100x plus), on par with C++.
And the memory management is uses should make compilation to WebAssembly rather straightforward. (... I believe – I have little knowledge of that sphere and welcome any corrections).
Re:Experimental support for WebAssembly in V8
by tanlermin on Tuesday March 15, 2016 @03:23PM
(#11292277)
Wouldn't you still have to ship the entire python VM? That doesn't sound to feasible for your average web app.
Re:Experimental support for WebAssembly in V8
by geon on Tuesday March 15, 2016 @03:48PM
(#11292443)
Once wasm supports some access to the gc (on the roadmap), It should be feasible. You wouldn't reimplement the entire runtime, but reuse functionality (like the gc) from the js runtime.
Re:Experimental support for WebAssembly in V8
by esailija on Tuesday March 15, 2016 @03:32PM
(#11292337)
Do you have any reference for that? You can already technically use whatever you want and wasm will not remove the need for high level languages also having to supply a (multi megabyte) runtime as there is no direct mapping to wasm instructions unlike with C++ or C.
Re:Experimental support for WebAssembly in V8
by BuckRogers on Tuesday March 15, 2016 @04:57PM
(#11292924)
Eich's comments on HN and on Twitter. It was all discussed when wasm was first announced a while back. I'd dig up the exact source comments from Eich, but at work. You'll probably see enough comments from the wasm folks in this post to verify whatever particular technical specs you're interested in to satisfaction.
I'm not sure why, if you like JS, people can keep on using JS indefinitely. My theory on programming is to use the language that I prefer, and worry about everything else secondary. For me that's Python. I've mostly avoided any deep dives on learning JS so it'll be nice to be a part of a budding Python web frontend community when the time comes.