News for hackers. Stuff that matters.
Re:Neutralinojs – Cross-platform desktop application develop... by ale42 on Monday February 07, 2022 @05:28AM (#30242816)
fully agree... and those (Lazarus/wxWidgets/Qt) generate native code and don't require you to ship a browser with your application...
Re:Neutralinojs – Cross-platform desktop application develop... by pimterry on Monday February 07, 2022 @05:38AM (#30242902)
> don't require you to ship a browser with your application

The key feature of Neutralino (as opposed to Electron) is that it does _not_ require you to ship a browser - it provides similar developer UX to Electron, but it uses your system's existing browser so binaries are dramatically smaller (2MB for hello world) and memory overhead is minimal (~3MB for hello world).

Re:Neutralinojs – Cross-platform desktop application develop... by alexvoda on Monday February 07, 2022 @05:46AM (#30242978)
> but it uses your system's existing browser

According to (1) that is incorrect. It uses WebKitGTK+.

(1) https://github.com/Elanis/web-to-desktop-framework-compariso...

Re:Neutralinojs – Cross-platform desktop application develop... by sdflhasjd on Monday February 07, 2022 @05:50AM (#30243005)
Looks like that is a simplification, error, or outdated.

Neutralinojs says: "Neutralinojs doesn't bundle Chromium and uses the existing web browser library in the operating system (Eg: gtk-webkit2 on Linux)"

Skimming through the source code, it appears to use WebView2 on Windows - which is Edge.

Re:Neutralinojs – Cross-platform desktop application develop... by brabel on Monday February 07, 2022 @07:14AM (#30243733)
It's the same approach as Tauri then? Except of course, Tauri has Rust in the "backend".
Re:Neutralinojs – Cross-platform desktop application develop... by soapdog on Monday February 07, 2022 @05:53AM (#30243022)
err.. the main point of NeutralinoJS is that you don't ship a browser with your application.

Also, wxWidgets looks very strange on macOS right now. I just built some demos last week from the examples in the repo for wxLua and they looked awful. I have no idea what was going on because as far as I remember wxWidgets would just be calling the native stuff. Still, they looked unusable.

Re:Neutralinojs – Cross-platform desktop application develop... by VZ on Monday February 07, 2022 @08:32AM (#30244541)
> Still, they looked unusable.

This shouldn't be the case. If you use wx 3.0, it's too old to support the features that appeared in macOS after its release (dark mode etc), but 3.1.5 should look just as the native UIs do.

Re:Neutralinojs – Cross-platform desktop application develop... by alexvoda on Monday February 07, 2022 @05:36AM (#30242876)
Qt has QtWebEngine afaik. Does Lazarus have a web browser component?

Edit: this was NOT meant to imply the browser component is loaded. This was a reply to the first comment with regards to what frameworks can and can not do.

Re:Neutralinojs – Cross-platform desktop application develop... by ale42 on Monday February 07, 2022 @05:40AM (#30242921)
There are actually a few (though I never tried any), see e.g. https://wiki.freepascal.org/fpCEF3
Re:Neutralinojs – Cross-platform desktop application develop... by gmueckl on Monday February 07, 2022 @05:38AM (#30242910)
QtWebEngine is a completely separate module within Qt that you need to link to explicitly to use. You don't pay for it unless you actually use it.
Re:Neutralinojs – Cross-platform desktop application develop... by alexvoda on Monday February 07, 2022 @05:42AM (#30242939)
You are correct. I meant something else, see the edit.
Re:Neutralinojs – Cross-platform desktop application develop... by soapdog on Monday February 07, 2022 @05:55AM (#30243040)
Also QtWebEngine is a trimmed version of Chromium. Not the most lightweight solution out there. It works very well though.
Re:Neutralinojs – Cross-platform desktop application develop... by rcarmo on Monday February 07, 2022 @06:21AM (#30243261)
…nor have a local web server ready to be exploited.