DEV Community

Discussion on: What’s the most interesting new or upcoming browser feature?

Collapse
 
tbodt profile image
tbodt

WebAssembly. I truly believe there will come a day when every single piece of software ever written can be compiled into WebAssembly and and will run on any computer ever. And I can't wait.

Collapse
 
x2plusy2 profile image
Aaron Chamberlain

Agreed. Im just hoping that it picks up quickly. Particularly I. That there will be multiple language/compiler choices

Collapse
 
ben profile image
Ben Halpern

That is really exciting. What are your (or anybody else's) high level thoughts about what the intermediary steps will look like? Is it just going to be a matter of swapping out some compilation targets and a few polyfills along the way or are there going to be other possible hiccups?

Collapse
 
tbodt profile image
tbodt

Right now, you can install Emscripten incoming and compile most portable C/C++ programs with CC='emcc -s WASM=1'. Eventually, Emscripten will be migrated from using an asm.js to wasm translator to using LLVM's WebAssembly backend. I don't know what's going to happen after that...

Collapse
 
dubyabrian profile image
W. Brian Gourlie

This, so much. It goes beyond just having a better compilation target. LLVM is working on a WebAssembly back-end, which besides immediately making a huge number of languages available to the browser, also brings along tons of optimizations.