Zonder
Posts: 3
Joined: 27 Aug 2012, 22:39

Re: WebAssembly

14 Aug 2019, 10:13

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
 
User avatar
jsantos
Site Admin
Topic Author
Posts: 4124
Joined: 20 Jan 2012, 17:18
Contact:

Re: WebAssembly

15 Aug 2019, 10:49

There are no plans for this right now, but definitely something to have in the radar. Thanks!
 
Zonder
Posts: 3
Joined: 27 Aug 2012, 22:39

Re: WebAssembly

02 Sep 2019, 14:02

Are you exporting a C style API in WebAssembly, so you can use straight from javascript?
 
User avatar
jsantos
Site Admin
Topic Author
Posts: 4124
Joined: 20 Jan 2012, 17:18
Contact:

Re: WebAssembly

02 Sep 2019, 16:39

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.
 
a.devaykin
Posts: 8
Joined: 04 Dec 2018, 10:19

Re: WebAssembly

14 Apr 2020, 15:08

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
 
User avatar
jsantos
Site Admin
Topic Author
Posts: 4124
Joined: 20 Jan 2012, 17:18
Contact:

Re: WebAssembly

14 Apr 2020, 15:57

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.
 
a.devaykin
Posts: 8
Joined: 04 Dec 2018, 10:19

Re: WebAssembly

15 Apr 2020, 07:22

Hey!

Thank you for the info!

Best regards,
Alex
 
User avatar
jsantos
Site Admin
Topic Author
Posts: 4124
Joined: 20 Jan 2012, 17:18
Contact:

Re: WebAssembly

24 Apr 2020, 19:20

Latest beta includes wasm using emsdk-1.39.13
 
User avatar
z0rg77
Posts: 15
Joined: 01 Apr 2020, 10:33
Contact:

Re: WebAssembly

13 May 2020, 00:03

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 ?
 
User avatar
jsantos
Site Admin
Topic Author
Posts: 4124
Joined: 20 Jan 2012, 17:18
Contact:

Re: WebAssembly

13 May 2020, 01:21

Yes, it is doable. You should try with Noesis 3.0, we are now compatible with latest Emscripten versions.

Who is online

Users browsing this forum: No registered users and 0 guests