Page 2 of 2

Re: WebAssembly

Posted: 14 Aug 2019, 10:13
by Zonder
I've just been looking at Blazor the new web framework from Microsoft. https://dotnet.microsoft.com/apps/aspne ... pps/blazor

Just an idea but what about a version for blazor?.

You already have the webassembly version it would need a new set of bindings for c# which link back to javascript instead. (yeah I know it prob won't be that simple!) https://docs.microsoft.com/en-us/aspnet ... etcore-3.0

It would be the version of silverlight how it should have been all in browser :D

Re: WebAssembly

Posted: 15 Aug 2019, 10:49
by jsantos
There are no plans for this right now, but definitely something to have in the radar. Thanks!

Re: WebAssembly

Posted: 02 Sep 2019, 14:02
by Zonder
Are you exporting a C style API in WebAssembly, so you can use straight from javascript?

Re: WebAssembly

Posted: 02 Sep 2019, 16:39
by jsantos
We don't provide that by default. You need to program your application in C++ and convert everything using Emscripten. If you need to expose something to javascript you need to do it manually,

But we are open to suggestions for future versions of the wasm API.

Re: WebAssembly

Posted: 14 Apr 2020, 15:08
by a.devaykin
Hey!

Starting with version 1.39.0, Emscripten has lost backward compatibility with libraries compiled using version <1.39.0.

Are there any plans to update current release 2.2.6 web assembly binary to work with current emscripten?

Emscripten FAQ entry: https://emscripten.org/docs/getting_sta ... ng-linking

Best regards,
Alex

Re: WebAssembly

Posted: 14 Apr 2020, 15:57
by jsantos
We switched to 1.39 in NoesisGUI 3.0 (in beta right now). We haven't published WASM binaries yet, but it is going to happen this week. Meanwhile I recommend you to start porting your program to 3.0 using Windows.

Re: WebAssembly

Posted: 15 Apr 2020, 07:22
by a.devaykin
Hey!

Thank you for the info!

Best regards,
Alex

Re: WebAssembly

Posted: 24 Apr 2020, 19:20
by jsantos
Latest beta includes wasm using emsdk-1.39.13

Re: WebAssembly

Posted: 13 May 2020, 00:03
by z0rg77
Hi there !

Great thing that you support web assembly !

I'm trying to build the samples (Button and IntegrationGLUT) but unfortunately I have some issues with Noesis.bc being rejected as not a wasm32 file, switching to a pre 1.39 version of emscripten leads to fastcomp incompatibility, The rest of the build is fine but I can't generate the target html

I tested with Noesis2.2.6 and emscripten 1.39.15 which obviously does not work and 1.38.48 neither.

Any clue ? Is what I'm trying to achieve is doable through the Noesis.bc you provided ?

Re: WebAssembly

Posted: 13 May 2020, 01:21
by jsantos
Yes, it is doable. You should try with Noesis 3.0, we are now compatible with latest Emscripten versions.