Re: Why is WASM startup speed so slow?

2018-12-10 Thread Goran Milovanovic
I'm not really sure what you mean by "hitting a bad case in the VM". Are you implying that my code could be doing something highly unusual, which V8 can't really process effectively? This seems highly unlikely, because the application in question is a pretty typical OpenGL program, that just

Re: Why is WASM startup speed so slow?

2018-12-10 Thread Alon Zakai
Interesting, it's possible you're hitting a bad case in the VM then. Can you perhaps make a public testcase of your codebase, and we can show it to them? On Sun, Dec 9, 2018 at 11:02 PM Goran Milovanovic wrote: > I'm using the chrome dev tools Network panel to observe relevant events: > > * At

Re: Emterpreter and fpcast

2018-12-10 Thread Beuc
Thanks for the feedback! I was worried fpcast would somehow switch to non-emterpreter execution and cause issues on stop/resume. Beuc On 09/12/2018 17:22, Alon Zakai wrote: > I believe that's normal, yes. For function pointer cast emulation we > run binaryens fpcast-emu pass. It turns each

Re: Compiling OpenCASCADE with emscripten

2018-12-10 Thread 'Sam Clegg' via emscripten-discuss
On Mon, Dec 10, 2018 at 9:11 AM wrote: > > Hello, > > I have a simple C++ code that makes use of some of the APIs of OpenCASCADE, > and I have successfully run compiled with clang in macOS. I want to call the > functions implemented in my C++ codebase, so I'm using wasm for it (I already >

Re: Port of Arx Fatalis video game to WebAssembly / Emscripten

2018-12-10 Thread Alon Zakai
Very impressive! :) About Regal, you said you had fixes to get it working with emscripten, do you have a fork of it with those changes? It would be great to add that to emscripten-ports so it's an easy to use option. - Alon On Mon, Dec 10, 2018 at 8:11 AM Gabriel CV wrote: > > Hello, > >

Re: Port of Arx Fatalis video game to WebAssembly / Emscripten

2018-12-10 Thread Floh
Very cool :) Worked flawlessly at first on my 13" MBP in Chrome. After playing for a few minutes it got stuck though (in the cutscene when talking to the prisoner in the next cell, right in the beginning), with Chrome putting up a popup that the webpage is unresponsive (looks like either a

Re: Issues with Chrome

2018-12-10 Thread 'Sam Clegg' via emscripten-discuss
There are a few folks who work on wasm on chrome in this forum. I don't think discussing such issues would be off topic. Alternatively you can open issues at https://crbug.com/ or emscripten-on-chrome issues at https://github.com/kripken/emscripten/issues. On Mon, Dec 10, 2018 at 8:43 AM code

Compiling OpenCASCADE with emscripten

2018-12-10 Thread pau . argelaguet
Hello, I have a simple C++ code that makes use of some of the APIs of OpenCASCADE , and I have successfully run compiled with clang in macOS. I want to call the functions implemented in my C++ codebase, so I'm using wasm for

Issues with Chrome

2018-12-10 Thread code bythepound
Is this the right forum to discuss some issues I have seen with WASM and Chrome or is there a different Google forum for that? Thanks. -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving

Port of Arx Fatalis video game to WebAssembly / Emscripten

2018-12-10 Thread Gabriel CV
Hello, Here is a port of *Arx Fatalis* video game to WebAssembly using Emscripten. This is based on an earlier port I did of the game engine to Chrome PNaCl/PPAPI, itself based on the "Arx Libertatis" source code ( https://github.com/arx/ArxLibertatis) Live demo: =>