Page 1 of 1

WebAssembly

Posted: 12 Apr 2018, 22:44
by jsantos
Hi!

Next version is finally coming with WebGL + WASM support. Take this as experimental for now although the port was really straightforward. We were able to leave the runtime in 1MB gzipped. We believe this can be improved. And also the performance, although right now it is quite good. Let me say that emscripten and webassembly are awesome platforms to work with.

A few examples to experiment with (WebGL 2 compatible browser recommended). Image

Re: WebAssembly

Posted: 19 Apr 2018, 14:50
by antsonthetree
This is really cool! So what about Unity Web player? Will that be supported also?

Re: WebAssembly

Posted: 23 Apr 2018, 17:56
by jsantos
Yes, we are working on it!

Re: WebAssembly

Posted: 25 Apr 2018, 02:46
by nikobarli
Cool !

I have several questions below. They may be more related to emscripten than to NoesisGUI, but if you are kind enough to enlighten us :) ...

1. Is it possible to create connection to the server from the client ?
2. Is it possible to compile the code using Visual C++ (and create dependency to VC runtime) ?

Re: WebAssembly

Posted: 25 Apr 2018, 13:53
by jsantos
Thanks!
1. Is it possible to create connection to the server from the client ?
We haven't use it but I would say the answer is yes because you can invoke javascript code from c++ using emscripten.
2. Is it possible to compile the code using Visual C++ (and create dependency to VC runtime) ?
No, this is compiled with a custom compiler (clang based) with its own C runtime. Right now, our environment for working on this is using VSCode for editing and a makefile for building everything. Debugging is a bit hard here... back to printfs : ) (you can use breakpoints and see the source code from the browser but it is not very useful apart from knowing that the error or assert happened at that line).

Please, let me know if you have more doubts.

Re: WebAssembly

Posted: 08 May 2018, 10:23
by Ziriax
This is amazing! Kudos

Re: WebAssembly

Posted: 08 May 2018, 13:58
by Ziriax
Do you have any idea when NoesisGUI for WASM can be beta-tested?

Re: WebAssembly

Posted: 09 May 2018, 17:14
by jsantos
Contact us in private please. We are already providing access to a beta version of WASM + NoesisGUI.

Re: WebAssembly

Posted: 16 Jan 2019, 08:34
by logixworx
what is the status of Noesis GUI and Unity/WebGL?

Re: WebAssembly

Posted: 16 Jan 2019, 23:36
by jsantos
WebAssembly will be available in the first beta of 2.2 for Unity. Stay tuned, it is coming "soon".