News for hackers. Stuff that matters.
Re:The new Microsoft Edge is out of preview by techsupporter on Wednesday January 15, 2020 @01:37PM (#22057003)
I wish they had thrown in with helping Firefox instead of handing even more web influence over to Google. A percentage of what Microsoft spent on EdgeHTML contributed to the Firefox project—ideally as employee time—would go a long way, along with the counterbalance of putting the Firefox engine and code base front and center of more Windows users.
Re:The new Microsoft Edge is out of preview by dubcanada on Wednesday January 15, 2020 @01:47PM (#22057097)
Sadly Chromium is WAYYYY easier to development on than Firefox. Had Mozilla spent effort making the base of it as a framework in the same way Chromium is, they may have considered it.

There is a reason why Electron, QT etc use Chromium.

Re:The new Microsoft Edge is out of preview by Rapzid on Wednesday January 15, 2020 @03:11PM (#22057966)
Kind of a shame.. There are a few areas where FireFox absolutely smokes Chrome. The way it reflows some heavy DOMs interactively is almost magical in comparison.
Re:The new Microsoft Edge is out of preview by mactunes on Wednesday January 15, 2020 @01:51PM (#22057160)
Curious, what makes Chromium better in your opinion? I have probably just touched the surface of the dev tools on both and haven‘t used any features that I would be missing on either.
Re:The new Microsoft Edge is out of preview by dubcanada on Wednesday January 15, 2020 @01:59PM (#22057250)
It's a blank browser, has barely any "Google" specific stuff in it ready to go. It is easy to develop for, doesn't require cross language compiling (rust/c++), builds fast, easy to understand how the different parts work (at least for a browser developer it should be), has documentation, is meant to be used to develop your own browser.
Re:The new Microsoft Edge is out of preview by withinboredom on Wednesday January 15, 2020 @03:29PM (#22058124)
Are you sure Chromium builds fast? lol, it takes my laptop with 12 cores and 64gb of ram over an hour to compile from scratch, not counting the ~20gb of git history to download (I maintain an internal build at work).
Re:The new Microsoft Edge is out of preview by dubcanada on Wednesday January 15, 2020 @03:51PM (#22058394)
Well lol it is a rather complex piece of software, so maybe take that one back.

Firefox is comparable in that department.

Re:The new Microsoft Edge is out of preview by bzbarsky on Wednesday January 15, 2020 @04:21PM (#22058759)
Having compiled both: it's not. On the same hardware, Firefox takes ~4x less time to compile than Chromium for me...
Re:The new Microsoft Edge is out of preview by microcolonel on Wednesday January 15, 2020 @05:54PM (#22059730)
Which platform were you compiling on, and when? It's been some years now, but Chromium used to build with MSVC on Windows.
Re:The new Microsoft Edge is out of preview by I_AM_A_SMURF on Thursday January 16, 2020 @12:09AM (#22061835)
I worked on both, it's no comparison. Firefox builds in about 40min on my macbook pro, Chromium takes like 4 hours?
Re:The new Microsoft Edge is out of preview by tim-- on Thursday January 16, 2020 @01:53AM (#22062206)
I can't even get Chromium to build on my MacBook Pro, so there's that. (15-inch, 2018, 16GB RAM)

What magic are you using to be able to build Chromium?

Re:The new Microsoft Edge is out of preview by I_AM_A_SMURF on Friday January 17, 2020 @10:43AM (#22075564)
Limiting the threads as somebody elses said. For chromium no one really builds it on a laptop, everyone in my team used a build server or a 32 core monster desktop.
Re:The new Microsoft Edge is out of preview by microcolonel on Thursday January 16, 2020 @10:08AM (#22065158)
AFAIK you'd need to limit the compiler threads, and hopefully the linker doesn't run out of memory. 16GiB of memory is really not enough.
Re:The new Microsoft Edge is out of preview by bzbarsky on Saturday January 18, 2020 @12:38AM (#22082554)
Sometime in the last 6 months, on Mac and Linux both.
Re:The new Microsoft Edge is out of preview by duhi88 on Wednesday January 15, 2020 @06:21PM (#22059948)
Then they could have chosen WebKit.

I get the Electron reason...it just sucks.

Re:The new Microsoft Edge is out of preview by _bxg1 on Wednesday January 15, 2020 @02:13PM (#22057406)
I was just thinking, "Why isn't there an Electron for Firefox?"
Re:The new Microsoft Edge is out of preview by kodablah on Wednesday January 15, 2020 @02:16PM (#22057449)
They worked on it a bit [0] but it has been abandoned along with all the other embedding efforts over time. As someone who embeds Chromium (via CEF) only because it's easy, I would really appreciate (and have been shouting into the wind about) focus on the embeddability of Gecko.

0 - https://github.com/mozilla/positron

Re:The new Microsoft Edge is out of preview by the8472 on Wednesday January 15, 2020 @05:16PM (#22059376)
Long before positron (and electron) there was XULrunner.
Re:The new Microsoft Edge is out of preview by giancarlostoro on Wednesday January 15, 2020 @02:33PM (#22057610)
I have a feeling this might change once Firefox is either entirely written in Rust, or mostly written in Rust.
Re:The new Microsoft Edge is out of preview by _bxg1 on Wednesday January 15, 2020 @03:01PM (#22057869)
Why?
Re:The new Microsoft Edge is out of preview by giancarlostoro on Wednesday January 15, 2020 @06:26PM (#22059983)
A lot of legacy code is being removed. As this happens the codebase will be reworked with contributors in mind.
Re:The new Microsoft Edge is out of preview by aquova on Wednesday January 15, 2020 @02:14PM (#22057414)
I suspect that their work in using Electron for things like VSCode made switching Edge over to Blink more enticing. I wonder if they ever considered looking at the Mozilla frameworks
Re:The new Microsoft Edge is out of preview by mook on Wednesday January 15, 2020 @04:44PM (#22059063)
Unfortunately historically there was a history of Mozilla not being a very stable platform to develop on top of (though I have no idea if Chromium was worse). There had been at least two separate embedding APIs that have been abandoned (the original one in the ActiveX control era and the external one after they moved to Hg), at least three Electron-like things (prism, XULRunner, and positron), and the field of corpses of Mozilla-based apps (I've worked for two, there were lots more).

Maybe they're better at API backwards compatibility now? Not sure; I'm unlikely to try again given previous experience. Which is a shame; I still use Firefox since it was called Phoenix…

If anybody has more recent experience working on their stack, I'd be happy to be correctly though. Preferably with examples of projects that _haven't_ been burned.

Re:The new Microsoft Edge is out of preview by zerr on Wednesday January 15, 2020 @02:11PM (#22057373)
Interesting, I thought FF being a XUL app should've been easier to customize.
Re:The new Microsoft Edge is out of preview by TheKIngofBelAir on Wednesday January 15, 2020 @02:57PM (#22057826)
AFAIK Pale Moon and Basilisk are the only XUL-based browsers left.

https://www.palemoon.org/

https://www.basilisk-browser.org/

Re:The new Microsoft Edge is out of preview by giancarlostoro on Wednesday January 15, 2020 @02:35PM (#22057624)
I don't think FF is using XUL anymore or at least not as much as they used to.

Even their docs for XUL shows it all as archived:

https://developer.mozilla.org/en-US/docs/Archive/Mozilla/XUL...

Re:The new Microsoft Edge is out of preview by vtail on Wednesday January 15, 2020 @02:41PM (#22057686)
Firefox is actively moving away from XUL.
Re:The new Microsoft Edge is out of preview by cptskippy on Wednesday January 15, 2020 @03:58PM (#22058487)
I thought they finished that recently when they announced the UI was no longer XUL based. Is there still more work to go?
Re:The new Microsoft Edge is out of preview by zerr on Saturday January 18, 2020 @01:28PM (#22086046)
I guess they are moving towards web standards? (like Vivaldi). I don't think they will ditch XUL in favor of native (C++) tech.
Re:The new Microsoft Edge is out of preview by faitswulff on Wednesday January 15, 2020 @01:46PM (#22057091)
Cynical thought: in no way am I claiming this was the only reason for Microsoft choosing Blink, but it’s probably easier to find and replace Google analytics APIs with Microsoft endpoints than it is to add them into a code base after the fact.
Re:The new Microsoft Edge is out of preview by iudqnolq on Wednesday January 15, 2020 @01:51PM (#22057154)
Can you link to a Google Analytics API call in Chromium? It's OSS.

Edit: Chromium connects to Google servers to update extensions and for captive portal detection. Firefox does pretty much the same.

Re:The new Microsoft Edge is out of preview by wbkang on Wednesday January 15, 2020 @03:59PM (#22058496)
Search for UMA metrics.
Re:The new Microsoft Edge is out of preview by iudqnolq on Thursday January 16, 2020 @02:26PM (#22067918)
Firefox does something similar, but calls it Firefox Health Reports. See https://blog.mozilla.org/metrics/fhr-faq/

(note that I think there's nothing wrong with this at all, just pointing out that this isn't chromium-specific)

Re:The new Microsoft Edge is out of preview by rdsubhas on Wednesday January 15, 2020 @02:03PM (#22057290)
Chromium is not the same as Google Chrome. Chromium is open source and vendor neutral. Google Chrome adds the Google stuff on top of it.

Both chromium and Firefox can be customized and vendor branded (see the countless privacy oriented browsers built on top of Firefox).

Re:The new Microsoft Edge is out of preview by ndarwincorn on Wednesday January 15, 2020 @03:06PM (#22057915)
> Chromium is...vendor neutral.

That's pretty misleading. When you want to sync state across Chromium installs, you use a Google account, and that's really just scratching the surface.

Chromium comes with quite a bit of Google baked-in.

Re:The new Microsoft Edge is out of preview by endothrowho333 on Wednesday January 15, 2020 @07:11PM (#22060339)
Chromium still has Google endpoints.

Iridium was developed specifically to degoogle all attempts at phoning home.