Thread overview
[Issue 17887] Add WebAssembly reserved version identifier
[Issue 17887] Add WebAssembly predefined version
Oct 09, 2017
ZombineDev
Oct 09, 2017
ZombineDev
Oct 09, 2017
ZombineDev
Oct 09, 2017
ZombineDev
Oct 12, 2017
ZombineDev
Oct 12, 2017
ZombineDev
October 09, 2017
https://issues.dlang.org/show_bug.cgi?id=17887

ZombineDev <petar.p.kirov@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |17886

--
October 09, 2017
https://issues.dlang.org/show_bug.cgi?id=17887

ZombineDev <petar.p.kirov@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Add WebAssembly predefined  |Add WebAssembly reserved
                   |version                     |version identifier

--
October 09, 2017
https://issues.dlang.org/show_bug.cgi?id=17887

ZombineDev <petar.p.kirov@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #1 from ZombineDev <petar.p.kirov@gmail.com> ---
DMD PR: https://github.com/dlang/dmd/pull/7202

--
October 09, 2017
https://issues.dlang.org/show_bug.cgi?id=17887

--- Comment #2 from ZombineDev <petar.p.kirov@gmail.com> ---
dlang.org PR: https://github.com/dlang/dlang.org/pull/1905

--
October 12, 2017
https://issues.dlang.org/show_bug.cgi?id=17887

--- Comment #3 from github-bugzilla@puremagic.com ---
Commit pushed to master at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/8cd923389443cb018feadb1b0b91598cf6b9cc53 Fix issue 17887 - Add AsmJS, Emscripten and WebAssembly version identifiers

WebAssembly (http://webassembly.org/) is a is a low-level binary format
for in-browser client-side scripting (though support for non-browser
execution environments is also planned) and also a JavaScript API. See
https://github.com/WebAssembly/design/blob/master/Portability.md
for more information on the characteristics of this virtual ISA.
All major browser vendors have reached consensus on the WebAssembly API
and binary format, so growth opportunity for D in this area is huge.

The current feature set and toolchain is based on asm.js
(http://asmjs.org/spec/latest/) and Emscripten
(http://kripken.github.io/emscripten-site/).
Emscripten is a toolchain for converting  LLVM IR to JavaScript/asm.js.
Emscripten uses the musl (http://www.musl-libc.org/) libc library,
which potentially requires improving the `version (CRuntime_Musl)`
support in druntime and phobos.

In a couple of years asm.js may be phased-out in favour of WebAssembly, but for now it is necessary as WebAssembly is not mature enough.

--
October 12, 2017
https://issues.dlang.org/show_bug.cgi?id=17887

ZombineDev <petar.p.kirov@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--
October 12, 2017
https://issues.dlang.org/show_bug.cgi?id=17887

ZombineDev <petar.p.kirov@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |FIXED

--