News for hackers. Stuff that matters.
Re:The Firefox UI Is Now Built with Web Components by pault on Wednesday November 20, 2019 @05:03PM (#21589067)
The problem with electron isn't JavaScript, it's running an entirely seperate instance of an infamously memory hogging web browser, that comes with an enormous amount of features that aren't utilized by the application. The JavaScript runtime itself is not going to cause noticable slowdowns or memory use, especially so if you already have one running anyway as is the case for Firefox.
Re:The Firefox UI Is Now Built with Web Components by judge2020 on Wednesday November 20, 2019 @05:20PM (#21589224)
The Chrome "apps" feature is turning out pretty well for me when using it for YT Music and YT TV, it runs in the same process as the existing chrome tabs do, and you can have dedicated windows for them in Windows/MacOS.
Re:The Firefox UI Is Now Built with Web Components by ajxs on Wednesday November 20, 2019 @07:13PM (#21590083)
> running an entirely seperate instance of an infamously memory hogging web browser

Without looking at the source-code: Doesn't this problem still exist, just in a different form? You're still running some kind of browser instance to render the UI, rather than using native methods.

Re:The Firefox UI Is Now Built with Web Components by pault on Wednesday November 20, 2019 @07:16PM (#21590105)
But you're using the browser already!
Re:The Firefox UI Is Now Built with Web Components by ShinTakuya on Thursday November 21, 2019 @12:10PM (#21596423)
Yes, but this is the UI of a browser. Arguably it could be more efficient to do it this way as you can strip out some of the libraries used for the native rendering.
Re:The Firefox UI Is Now Built with Web Components by Narishma on Thursday November 21, 2019 @12:55PM (#21597096)
I don't see how. Those libraries are already loaded anyway because they're used by the OS and native apps.