OS2 World Community Forum
OS/2, eCS & ArcaOS - Technical => Programming => Topic started by: Martin Iturbide on April 30, 2019, 10:14:04 pm
-
Hi
Just from a theoretical point of view, I want to know what would be needed to have Node.js stand alone apps to run on OS/2.
What are the framework, library set and/or runtimes that are needed to have node.js application like Riot.im (https://about.riot.im/) , Butter Project (http://butterproject.org/) (base for popcorn time) and others running as stand alone apps? I know that some node.js apps runs on Firefox on OS/2 like Riot.im, but I was wondering what is needed to have those running as stand alone.
This is just for my knowledge, don't think that I'm saying it is the #1 priority for us.
Regards
-
Hi Martin,
I assume you have had a look at some of the frameworks available on git. A good list is at:
https://scotch.io/bar-talk/10-node-frameworks-to-use-in-2019 (https://scotch.io/bar-talk/10-node-frameworks-to-use-in-2019)
Where you go from there is a good question as I see little js in any browser because of noscript being active.
-
what would be needed to have Node.js stand alone apps to run on OS/2.
Friends @ VLC and/or FFmpeg, if this is about video output with some internet data source?
-
Hi
Just from a theoretical point of view, I want to know what would be needed to have Node.js stand alone apps to run on OS/2.
What are the framework, library set and/or runtimes that are needed to have node.js application like Riot.im (https://about.riot.im/) , Butter Project (http://butterproject.org/) (base for popcorn time) and others running as stand alone apps? I know that some node.js apps runs on Firefox on OS/2 like Riot.im, but I was wondering what is needed to have those running as stand alone.
This is just for my knowledge, don't think that I'm saying it is the #1 priority for us.
Regards
You would also need V8, the Javascript interpreter running. It has a lot of dependencies.
-
Hi
I'm also guessing that is already something ported to run Node.js apps on OS/2, since some apps (like Riot IM (https://riot.im/app/#/room/#os2world:matrix.org)) already run in Firefox for OS/2.
Is that something exclusive for Firefox or something in Node.js can run in stand alone mode without too much effort ?
Regards
-
Well, Firefox supplies the JavaScript engine (SpiderMonkey) as well as the graphical canvas to display something like Riot IM. The canvas is what would take a lot of effort to have a standalone interpreter.
The Firefox build process does spit out a standalone js.exe, which only seems capable of text mode.