The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
SDL Support with Web Assembly
Ben Henning
Guest

Hi all,


After following the early conception of the WebAssembly cross-browser collaboration effort (https://github.com/WebAssembly) I noticed that there is initial effort to make sure both POSIX and SDL libraries are available for C/C++ programmers early on in the Web Assembly MVP. After doing more research, I haven't noticed any discussion about this in the SDL development mailing list or anywhere else. Are there contributors working on this support or planning to?
For reference, this is the part of the WebAssembly design discussing SDL: https://github.com/WebAssembly/design/blob/master/CAndC%2B%2B.md


Could anyone shed some light on whether the SDL team is officially planning on working on an early WebAssembly implementation?


Thanks,
Ben
Re: SDL Support with Web Assembly
DLudwig


Joined: 09 Feb 2012
Posts: 179
Ben Henning wrote:
Could anyone shed some light on whether the SDL team is officially planning on working on an early WebAssembly implementation?


If I remember correctly about WebAssembly's status, it is still going through a pretty low level design process. I.e. WebAssembly's developers are trying to figure out what WebAssembly itself is, and how it might work with a wide variety of libraries and applications. As such, there's very little available in the way of tooling, or APIs, that others can use.

I do recall, in reading about WebAssembly, that some of Emscripten's main developers were working on WebAssembly (https://github.com/kripken/emscripten/issues/3594 ). As such, this seems like Emscripten's compiler(s) might, someday, include the ability to output WebAssembly, possibly using Emscripten APIs (which SDL2 does have support for, in hg.libsdl.org). That's all just speculation on my part, though.

Cheers!
-- David L.
SDL Support with Web Assembly
Ben Henning
Guest

I appreciate the insight, thanks David!

On Fri, Sep 25, 2015 at 9:02 PM, DLudwig wrote:
Quote:



Ben Henning wrote:

Could anyone shed some light on whether the SDL team is officially planning on working on an early WebAssembly implementation?




If I remember correctly about WebAssembly's status, it is still going through a pretty low level design process. I.e. WebAssembly's developers are trying to figure out what WebAssembly itself is, and how it might work with a wide variety of libraries and applications. As such, there's very little available in the way of tooling, or APIs, that others can use.

I do recall, in reading about WebAssembly, that some of Emscripten's main developers were working on WebAssembly (https://github.com/kripken/emscripten/issues/3594 ). As such, this seems like Emscripten's compiler(s) might, someday, include the ability to output WebAssembly, possibly using Emscripten APIs (which SDL2 does have support for, in hg.libsdl.org). That's all just speculation on my part, though.

Cheers!
-- David L.


_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org