Results 1 to 5 of 5

Thread: EmScripten Merges Its Speedy "Fastcomp" Backend

  1. #1
    Join Date
    Jan 2007
    Posts
    15,678

    Default EmScripten Merges Its Speedy "Fastcomp" Backend

    Phoronix: EmScripten Merges Its Speedy "Fastcomp" Backend

    EmScripten, the innovative project for turning C++ code into JavaScript that can be run within web-browsers, has merged its brand new LLVM compiler back-end that is faster and also yields other benefits...

    http://www.phoronix.com/vr.php?view=MTY2OTE

  2. #2
    Join Date
    Jul 2008
    Location
    Greece
    Posts
    3,801

    Default

    Can it deal with setjmp/longjmp yet? Or is that still impossible?

  3. #3
    Join Date
    Apr 2014
    Posts
    3

    Default

    Quote Originally Posted by RealNC View Post
    Can it deal with setjmp/longjmp yet? Or is that still impossible?
    setjmp/longjmp works for the defined behavior cases. What does not work is the undefined behavior case (jumping "forward" as opposed to "backward").

  4. #4
    Join Date
    Jul 2008
    Location
    Greece
    Posts
    3,801

    Default

    Quote Originally Posted by kripken View Post
    setjmp/longjmp works for the defined behavior cases. What does not work is the undefined behavior case (jumping "forward" as opposed to "backward").
    The defined behavior is useless. Everyone out there relies on the undefined one.

  5. #5
    Join Date
    Jul 2012
    Posts
    109

    Default

    Emscripten is awesome. It has allowed me to avoid ever having to use Javascript at work and yet still make decent web games.

    That said, I thought the fastcomp had been merged quite a bit earlier.

    Shameless plug:
    This is my game engine "Mutiny" (Basically an open-source reimplementation of Unity): http://www.mutiny3d.org
    Naturally since it has been written to use SDL and OpenGL, porting it to support WebGL in a web browser has been a breeze.

    The "inlining" of Javascript instead of assembly is really great too when working around incomplete browsers like IE.
    Last edited by kpedersen; 07-01-2014 at 11:34 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •