Live data from Hacker News

ElectronJS alternative: SciterJS – HTML/CSS/JS in 4.5 MB executable

github.com

91–100 of 201 posts

Re: ElectronJS alternative: SciterJS – HTML/CSS/JS in 4.5 MB executable

#91

Earlier quoted context omitted.

I think for "all major modern OSS" to apply we need at least Windows and macOS support. Internet Explorer never fit this description. Edit: This comment is wrong - looks like IE did fit this description before my time. :-)

People forget that when OS X launched IE was the default browser :)

Plus there was an X Windows version that ran on Solaris. I'm sure making it work on Linux would have been quite possible had they wanted to.

Re: ElectronJS alternative: SciterJS – HTML/CSS/JS in 4.5 MB executable

#92

Nitpick: > Note that transfer of 1GB of data produces 3kg of CO2. This is wrong, it's closer to 29 grams of CO2 for 1GB, on average. Of course it depends on the mix of power sources used. https://www.iea.org/commentaries/the-carbon-footprint-of-str... It doesn't change the point of the comparison, the smaller size is still good.

What is 29 grams of CO2 comparable to? How far would you have to drive your average car to emit that much?

Re: ElectronJS alternative: SciterJS – HTML/CSS/JS in 4.5 MB executable

#94
post #92

Nitpick: > Note that transfer of 1GB of data produces 3kg of CO2. This is wrong, it's closer to 29 grams of CO2 for 1GB, on average. Of course it depends on the mix of power sources used. https://www.iea.org/commentaries/the-carbon-footprint-of-str... It doesn't change the point of the comparison, the smaller size is still good.

What is 29 grams of CO2 comparable to? How far would you have to drive your average car to emit that much?

About a 150 metres depending on the model [1].

[1] http://www.aef.org.uk/downloads/Grams_CO2_transportmodesUK.p...

Re: ElectronJS alternative: SciterJS – HTML/CSS/JS in 4.5 MB executable

#95
post #92

Nitpick: > Note that transfer of 1GB of data produces 3kg of CO2. This is wrong, it's closer to 29 grams of CO2 for 1GB, on average. Of course it depends on the mix of power sources used. https://www.iea.org/commentaries/the-carbon-footprint-of-str... It doesn't change the point of the comparison, the smaller size is still good.

What is 29 grams of CO2 comparable to? How far would you have to drive your average car to emit that much?

Current standards emission around here are pushing for under 95gCO2/km, which seems to eliminate pure ICE. My 2008 sports car is rated as emitting 200gCO2/km (WFH so not a daily driver mind you).

The average car around here should be in the ballpark of 150gCO2/km, so 29g would be 200m.

Re: ElectronJS alternative: SciterJS – HTML/CSS/JS in 4.5 MB executable

#96

Earlier quoted context omitted.

> GPL + commercial licensing model changes nothing for commercial product developers. I'm not sure I understand your comment. This is an Electron alternative. Is it common for companies to release modified versions of Electron? I admit I don't work in this space, but I thought the point of Electron is to make it possible to distribute a web app as a "native" app. Why would a company dig into the source code and devel…

Native c/c++ code linking maybe? Linking with native modules may be important to some projects, and that's complicated when the GPL is involved.

> Native c/c++ code linking maybe?

Companies do C/C++ linking to Electron itself in a web app? I'm sorry, but I've never heard of such a thing. Do they also do C/C++ linking to the browser for the web app version fo the app? Web development must really have changed in recent years.

Re: ElectronJS alternative: SciterJS – HTML/CSS/JS in 4.5 MB executable

#97
post #45

Earlier quoted context omitted.

"a random user" is the developer of Sciter, which is the UI engine used by practically every antivirus software on the planet. This is just a demo of his new project that combines Sciter with a JS engine. He only provided demo binaries because he is running a crowdfunding campaign to release the opensource version.

Honest question: why anti-virus software? What makes sciter especially appropriate for them?

According to this SO question [1] with the OP's answer, it seems that most AVs share the Material-like design for which Sciter suits. Using Electron in AVs (among others that would only require the layout engine) would be silly.

[1] https://stackoverflow.com/questions/40325806/how-this-type-o...

Re: ElectronJS alternative: SciterJS – HTML/CSS/JS in 4.5 MB executable

#98

Earlier quoted context omitted.

55 hours to go and not even a third of the goal completed. I’m an optimistic guy but I don’t see this happening. EDIT: I wouldn’t mind being wrong.

I don't see it happening either. 1. It's a GPL release. 2. None of the rewards are happening in some far-future date. It's all in October (of which there is 15 days left). Essentially, the proposition is that we the community pay and they will relicense it to GPL. If we pay more then they licence to BSD. Using Kickstarter to pay for essentially finished goods isn't really the point of the system, and won't really wor…

> Essentially, the proposition is that we the community pay and they will relicense it to GPL

Yes, that's the Blender model, but unfortunately without any publicity.

Re: ElectronJS alternative: SciterJS – HTML/CSS/JS in 4.5 MB executable

#99

Earlier quoted context omitted.

This is the kind of project that I'd hope the Linux Foundation or similar could take an interest in financing too. Until, at least, all major modern OSes come with a built in scriptable headless browser engine, which would be a game-changer. Something-like-electron-or-sciter where you don't have to download the runtime for each individual application. Also, of course, not a walled garden: the windows "modern apps" st…

> Until, at least, all major modern OSes come with a built in scriptable headless browser engine One of the main advantages of shipping your own browser like Electron or SciterJS is that it's a fixed, stable target where you can be a lot more confident about browser compatibility because you're only supporting a single browser + version.

Exactly, but we can check for feature support and adapt accordingly. We did it for the seen for years.

Re: ElectronJS alternative: SciterJS – HTML/CSS/JS in 4.5 MB executable

#100

Sciter is a very nice engine with a solid API/SDK and rock solid engineering behind it. For developers building efficient UI apps it can be a real alternative method to things like electron or as a lighter alternative to QT with QML script. However until now it was only available under commercial licence. Andrew Fedoniouk ( a.k.a. c-smile Sciter's original developer) has a kickstarter to fund open sourcing and suppor…

This is the kind of project that I'd hope the Linux Foundation or similar could take an interest in financing too. Until, at least, all major modern OSes come with a built in scriptable headless browser engine, which would be a game-changer. Something-like-electron-or-sciter where you don't have to download the runtime for each individual application. Also, of course, not a walled garden: the windows "modern apps" st…

I think macOS and Windows are covered in that regard, though with different JavaScript and HTML engines. A normalizing layer above could be an interesting approach.
Post reply on HN