[GH-ISSUE #85] is anyone tried to port upp into web with emscripten? #47

Open
opened 2026-05-05 03:36:02 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @bevinhex on GitHub (Jul 29, 2022).
Original GitHub issue: https://github.com/ultimatepp/ultimatepp/issues/85

as far as I understand upp is crossplatform, and since webassembly is becoming a W3C standard, it would be great to see UPP on web as well

Originally created by @bevinhex on GitHub (Jul 29, 2022). Original GitHub issue: https://github.com/ultimatepp/ultimatepp/issues/85 as far as I understand upp is crossplatform, and since webassembly is becoming a W3C standard, it would be great to see UPP on web as well
Author
Owner

@mirek-fidler commented on GitHub (Jul 29, 2022):

There was a discussion about it, but no real progress yet.

It would definitely be worth trying. And with VirtualGui it might even be
relatively simple.

On Fri, Jul 29, 2022 at 8:42 AM bevin @.***> wrote:

as far as I understand upp is crossplatform, and since webassembly is
becoming a W3C standard, it would be great to see UPP on web as well


Reply to this email directly, view it on GitHub
https://github.com/ultimatepp/ultimatepp/issues/85, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AARH235Q7VBRRIT2V2C7ALTVWN4LZANCNFSM547VQ6OQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

<!-- gh-comment-id:1198945339 --> @mirek-fidler commented on GitHub (Jul 29, 2022): There was a discussion about it, but no real progress yet. It would definitely be worth trying. And with VirtualGui it might even be relatively simple. On Fri, Jul 29, 2022 at 8:42 AM bevin ***@***.***> wrote: > as far as I understand upp is crossplatform, and since webassembly is > becoming a W3C standard, it would be great to see UPP on web as well > > — > Reply to this email directly, view it on GitHub > <https://github.com/ultimatepp/ultimatepp/issues/85>, or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AARH235Q7VBRRIT2V2C7ALTVWN4LZANCNFSM547VQ6OQ> > . > You are receiving this because you are subscribed to this thread.Message > ID: ***@***.***> >
Author
Owner

@ismail-yilmaz commented on GitHub (Jul 29, 2022):

There was a discussion about it, but no real progress yet. It would definitely be worth trying. And with VirtualGui it might even be relatively simple.

Actually, there is. :)

I have already written a working prototype and a comm protocol, using VirtualGui + web assembly. My intention is to publish it as an alternative to Turtle - codename: Viper. (IIRC, I'd mentioned this project last year in Upp forums. In the meantime I have studied emscripten/webassembly).

The branch is still private and I have no intention to publish it before it is mature enough. As a bonus, Viper, the webassembly alternative of the Turtle, will have a companion ctrl to let developers integrate a virtualgui into their apps. So it is supposed to work with both web browsers and other Upp apps...

The only problem is I am very busy at work ATM, so the pace is slow (as a snail...)

Best regards,

<!-- gh-comment-id:1199025742 --> @ismail-yilmaz commented on GitHub (Jul 29, 2022): > There was a discussion about it, but no real progress yet. It would definitely be worth trying. And with VirtualGui it might even be relatively simple. Actually, there is. :) I have already written a working prototype and a comm protocol, using VirtualGui + web assembly. My intention is to publish it as an alternative to Turtle - codename: Viper. (IIRC, I'd mentioned this project last year in Upp forums. In the meantime I have studied emscripten/webassembly). The branch is still private and I have no intention to publish it before it is mature enough. As a bonus, Viper, the webassembly alternative of the Turtle, will have a companion ctrl to let developers integrate a virtualgui into their apps. So it is supposed to work with both web browsers and other Upp apps... The only problem is I am very busy at work ATM, so the pace is slow (as a snail...) Best regards,
Author
Owner

@bevinhex commented on GitHub (Jul 30, 2022):

@ismail-yilmaz looking forward to see fruits of your work!
I've been using things like GTK, Qt, wxWidgets, FLTK for speeding up cross-platform development, later went for js (react...), but now realizing js frameworks are not something to rely on long term, so from all those cross-platform development libraries, so far Qt is adopting webassembly, someone also able to port FLTK with some modifications to its cmake, in long run, it would be really great to be able to put native apps on web without js
the other day I tried to compile upp source code with emscripten, but there were some dependencies and I'm new to upp, so sort of gave up
I see imgui also had some progress in this direction as well, conan.io supports emscripten already it seems, so with some cmake setup, it could be possible
I wonder if transforming upp makefiles into cmake could make it tidier to do so

<!-- gh-comment-id:1200285136 --> @bevinhex commented on GitHub (Jul 30, 2022): @ismail-yilmaz looking forward to see fruits of your work! I've been using things like GTK, Qt, wxWidgets, FLTK for speeding up cross-platform development, later went for js (react...), but now realizing js frameworks are not something to rely on long term, so from all those cross-platform development libraries, so far Qt is adopting webassembly, someone also able to port FLTK with some modifications to its cmake, in long run, it would be really great to be able to put native apps on web without js the other day I tried to compile upp source code with emscripten, but there were some dependencies and I'm new to upp, so sort of gave up I see imgui also had some progress in this direction as well, conan.io supports emscripten already it seems, so with some cmake setup, it could be possible I wonder if transforming upp makefiles into cmake could make it tidier to do so
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/ultimatepp#47
No description provided.