News for hackers. Stuff that matters.
Re:Goodbye, EdgeHTML by nightski on Thursday December 06, 2018 @04:49PM (#18622625)
It makes me wonder if at any point in the process Microsoft approached Firefox over integrating their rendering engine vs. Chromium and if so, what the factors were in making their final decision.

I also wonder if instead of "ceding" control to Google, Microsoft intends to start being a major contributor to Chromium, so much so that it almost becomes a joint effort vs. Google dominance.

Re:Goodbye, EdgeHTML by _wmd on Thursday December 06, 2018 @04:58PM (#18622717)
As I understand things, the Mozilla codebase is a much older, vastly more complex and significantly less embedding-friendly environment than WebKit and derivatives. At least from here, it is easy to see why the choice may have in part been technically driven.

(I'm a diehard Firefox user but not gonna lie, side-by-side, I'd prefer surfing through WebKit's repos by a long shot!)

Re:Goodbye, EdgeHTML by bluGill on Thursday December 06, 2018 @05:07PM (#18622808)
Which is odd when you realize that WebKit is older than the firefox engine. (WebKit is a direct descendant of khtml, Firefox was busing re-writing their Gecko engine when WebKit forked)
Re:Goodbye, EdgeHTML by belltaco on Thursday December 06, 2018 @05:26PM (#18623011)
How much of a rewrite was it? IIRC they fixed a lot of bloat issues and called it a rewrite, but it wasn't a full rewrite.
Re:Goodbye, EdgeHTML by classichasclass on Thursday December 06, 2018 @05:36PM (#18623119)
It wasn't much of a rewrite (at least of the underpinnings) and embedding was always fragile even when it worked. A lot of this is XPCOM overhead which can't be completely eliminated.

I think the lack of embedding has hurt Gecko showing up in more projects. Their solution was XULRunner which inverts the model by embedding your app in Gecko instead of the other way around, and they don't even support that anymore.

I'm hoping GeckoView takes off on Android and makes its way back to desktop, but I'm afraid that will happen too late for people to care about it anymore.

Re:Goodbye, EdgeHTML by efreak on Friday December 07, 2018 @01:16AM (#18625542)
I believe Firefox focus is already using geckoview instead of webview
Re:Goodbye, EdgeHTML by DonHopkins on Thursday December 06, 2018 @05:39PM (#18623149)
I don't buy that argument. Getting a facelift doesn't change the year you were born.

https://www.theguardian.com/world/2018/dec/03/dutch-court-re...

Re:Goodbye, EdgeHTML by Wowfunhappy on Thursday December 06, 2018 @05:28PM (#18623040)
Is this true even post-Quantum? I thought that was a major rewrite.
Re:Goodbye, EdgeHTML by cududa on Thursday December 06, 2018 @04:59PM (#18622722)
Everyone seems to be missing that this is Microsoft’s tacit recognition that Electron is the future of apps. Electron has abysmal performance and doesn’t work on ARM. This is them fixing fundamental chromium issues, to improve Electron performance and give themselves a further wedge beyond TypeScript
Re:Goodbye, EdgeHTML by untog on Thursday December 06, 2018 @05:00PM (#18622741)
Look at VS Code: Electron doesn't have abysmal performance. It's just what people do with it that causes problems.
Re:Goodbye, EdgeHTML by WorldMaker on Thursday December 06, 2018 @05:10PM (#18622832)
VS Code is a possible sign for why Microsoft leading Electron on all fronts (from taking over GitHub, to collaborating much more directly on Chromium) might be good for computers. If the average Electron app starts to act more like VS Code, that's good for everybody.
Re:Goodbye, EdgeHTML by setquk on Thursday December 06, 2018 @05:13PM (#18622874)
Wonder if office will go in that direction too.
Re:Goodbye, EdgeHTML by berbec on Thursday December 06, 2018 @05:31PM (#18623081)
Re:Goodbye, EdgeHTML by setquk on Thursday December 06, 2018 @06:45PM (#18623686)
Damn that’s amazing. Thanks for the link.

I can’t wait never to touch VSTO again.

Re:Goodbye, EdgeHTML by saghm on Thursday December 06, 2018 @05:17PM (#18622911)
Not sure if this is related to Electron or not, but in VS Code I have issues with using the high key repeat that I have set on all my machines. If I try to hold down a key that navigates the cursor (arrow keys, delete, hjkl in Vim mode, etc.), the editor isn't able to move the cursor fast enough to keep up with the key input events, so it keeps moving after I've lifted the key for a bit. This is especially annoying when I'm trying to delete some text and end up deleting more than I meant to.

Obviously this is a super niche thing, and you could make the argument that there are more efficient ways to edit text than this. My main point is that I never have this issue with native apps, only Electron-based ones, so it seems likely to me that there is some performance issue with this sort of input to Electron.

Re:Goodbye, EdgeHTML by Tempest1981 on Friday December 07, 2018 @03:26AM (#18625968)
Writing a lot of lines (5000+) to the VScode output window seems to kill performance.
Re:Goodbye, EdgeHTML by Amezarak on Thursday December 06, 2018 @05:58PM (#18623310)
In my experience electron apps, including VS Code, have atrocious performance on older hardware where native apps like Visual Studio run great.

By atrocious performance, I mean even such things as the application significantly lagging behind my typing speed.

At any rate, I’ve often wondered when the endless pile of layers and abstractions has to topple.

Re:Goodbye, EdgeHTML by roywiggins on Thursday December 06, 2018 @05:54PM (#18623271)
I've found VS Code to be approximately unusably slow in a virtual machine (Linux guest, Windows host) but VS Code runs fine on the host.

Other editors run just fine in my Linux VMs- Sublime Text has no problem at all.

Re:Goodbye, EdgeHTML by pitaj on Thursday December 06, 2018 @10:08PM (#18624823)
Probably a lack of hardware acceleration on the virtual machine.
Re:Goodbye, EdgeHTML by roywiggins on Friday December 07, 2018 @10:28PM (#18633726)
That sounds likely, my VMs definitely don't have hardware acceleration.

That said, it's clearly possible to build a nice editor purely on the CPU, so it's a shame that VS Code can't run well in the same environment. Sublime Text handles dozens of tabs and windows under emulation.

Re:Goodbye, EdgeHTML by lostmsu on Thursday December 06, 2018 @05:57PM (#18623292)
It might well be true for an IDE, which has a ton of features on its own, and 200MB+ Electron adds to it barely matter. But when that happens to your IM, plain text editor, music player, it adds up.
Re:Goodbye, EdgeHTML by fredmorcos on Saturday December 08, 2018 @03:26AM (#18634434)
VS Code takes ~6 seconds from clicking its icon to having its window show up. On an 8th-gen Intel i7 with an SSD. Yes Electron has abysmal performance.
Re:Goodbye, EdgeHTML by russley on Thursday December 06, 2018 @06:41PM (#18623660)
This is it. Even more specifically: https://twitter.com/SwiftOnSecurity/status/10708221567313223...

Getting WebRTC means Teams can replace Skype for Buisness

Re:Goodbye, EdgeHTML by aaaaaaaaaab on Thursday December 06, 2018 @05:31PM (#18623070)
>Electron is the future of apps

Lol.

Nevertheless, I hope they go all-in because a gimped JS Office would finally let other players to innovate in the word- & spreadsheet processor niche without the MS .

Fingers crossed brother, finger crossed!

Re:Goodbye, EdgeHTML by derefr on Thursday December 06, 2018 @04:51PM (#18622645)
I'm wondering the same, and naively, it seems likely.

But on the other hand, Google forked Blink away from Webkit specifically so it wouldn't have to share control of the codebase with Apple.

Do you think Google is willing to share control over Blink with Microsoft?

Re:Goodbye, EdgeHTML by jhall1468 on Thursday December 06, 2018 @05:05PM (#18622789)
Google forked Blink because how Apple and Google saw the future of browsers drastically differed. I'm going to venture a guess that Microsoft selected Chromium because their vision is closer to Google's than either Firefox or Webkit.
Re:Goodbye, EdgeHTML by pcwalton on Thursday December 06, 2018 @07:47PM (#18624103)
> Google forked Blink because how Apple and Google saw the future of browsers drastically differed.

That's not accurate. Google forked Blink for many reasons (WebKit2, dev tools policies, etc.) that collectively added up to a dysfunctional relationship.

Re:Goodbye, EdgeHTML by jhall1468 on Friday December 07, 2018 @01:19PM (#18630079)
How is that any different than what I suggested? They both wanted to go in very different directions.
Re:Goodbye, EdgeHTML by forapurpose on Thursday December 06, 2018 @05:16PM (#18622906)
Microsoft would have to consider the long term: What will Chromium and Gecko/Firefox look like in 5 and 10 years? Which is more likely to provide the technology that Microsoft expects to need? Microsoft can't just switch engines every couple of years. Some back-of-the-napkin analysis:

* Vendor stability is one issue: While I doubt Mozilla will go out of business, Google clearly is a very safe bet.

* Which vendor will invest more in keeping the technology up to date? Google, due to its vast resources, seems like a safe bet to invest more money and engineer hours. Mozilla, however, will certainly make the web browser the center of its attention and top priority; Google has a lot on its plate (and Microsoft knows how browser tech can drift for years without top management attention).

* Which browser is most likely to maintain compatibility with websites and web apps, including corporate ones? Google is the obvious choice.

* Which vendor's engineering priorities most align with Microsoft's? I'm not sure. Google has their own priorities - a front end for Google's services, which compete directly with many of Microsoft's - but Google seems more focused on the corporate market. On the other hand, Mozilla's focus on privacy and end user control could easily conflict with Microsoft's priorities.

* And of course, which browser fits best in Microsoft's immediate browser plans and has the cleanest upgrade path from Edge/IE? I have no idea.

I'm a dedicated user and supporter of Firefox and Mozilla, but I can see reasons Microsoft might choose Chromium.

Re:Goodbye, EdgeHTML by belltaco on Thursday December 06, 2018 @05:22PM (#18622967)
Why would they have considered Firefox over just improving Edge? The problem is that Chrome is extremely dominant, especially on mobile and tablet. And everyone tests against Chrome but not everyone tests on Firefox or Edge(especially web devs on MacOS).

If things don't work or look broken, it causes more people to switch to Chrome over Edge/Firefox, turning this into a vicious cycle. The only way to break the cycle is to act like Chrome, so either chase Chrome's behavior with Edge or Firefox. Both of which entail a lot of effort and money with less than stellar results. Adopting Firefox will get them some development help but the fundamental problem of chasing a speeding train still remains.

Re:Goodbye, EdgeHTML by unethical_ban on Thursday December 06, 2018 @05:25PM (#18623002)
In political terms:

Web browsing dominance is a single member district. Firefox and Chrome are the two major parties, and IE/Opera/Safari are third parties.

IE could have gone to Firefox to promote open standards and "back the opposition" so to speak. They chose, instead, the corporate behemoth behind the mobile OS they want a foothold on (presumably).

Re:Goodbye, EdgeHTML by alwillis on Thursday December 06, 2018 @09:20PM (#18624594)
Firefox and Chrome are the two major parties, and IE/Opera/Safari are third parties.

There’s no way this can be true.

Apple owns various platforms that ship Safari/WebKit and it’s the only option on iOS and watchOS. They’ve shipped more than 2 billion (and growing) iOS devices.

And hundreds of thousands native iOS apps use WebKit views.

So there’s no way Safari is a fringe 3rd party browser and has a better privacy story regarding fingerprinting and tracking than any of the other major browsers, including Firefox.

Unless you’re on the W3C mailing lists and GitHub repos, you wouldn’t know how active the WebKit team is on the development and implementation of web standards.

Re:Goodbye, EdgeHTML by belltaco on Thursday December 06, 2018 @05:36PM (#18623113)
And if big web properties like Youtube, GMaps and Gmail etc. don't work properly, are slow or missing features on Gecko then the dominance of Chrome will increase further anyway.

The market of web browsers has become "who gets to set the default search engine makes the moolah". Bing marketshare and revenue is driven by how well Edge works and how it can stop the bleeding to Chrome. Changing the engine to Quantum does not solve the problem they were having in the first place very well.

Re:Goodbye, EdgeHTML by stefs on Thursday December 06, 2018 @05:15PM (#18622892)
i, too, was wondering about that. pretty sure MS could have a bigger (and probably more positive) impact - and thus control - by adding manpower to the development of firefox/quantum than chromium/blink.

i feel the biggest players now have all carved out their public niche - they're afraid to directly challenge the leader with big words and marketing millions. ms doesn't have to "beat" google or mozilla anymore.

they're competing on a secondary, less visible level - at least for the retail consumer - like cloud computing and AI; the public fights are less heated than they were a couple of years ago.

still, i feel like a company like microsoft wouldn't give up the chance to influence that easily. so why choose blink over quantum? mozilla might be "morally superior" to google, and thus less likely to be influenced by anticompetitive behaviour. but google wont tolerate anything from MS that could hurt their own efforts.

Re:Goodbye, EdgeHTML by basch on Thursday December 06, 2018 @05:16PM (#18622908)
I'll bet you it has everything to do with Microsoft realizing its a featureset to layer on top of other peoples operating systems now, ala Adobe and Facebook.

If Microsoft wants to make a cross platform product that runs on Windows, Android and iOS, and they know some of that product has a web rendering engine or js, they want to target/accomodate as few embeddable libraries as possible. Electron may be one of those products, but plenty of other things need embeddable html/js. Maybe Outlook will switch to blink someday?

It also means that in theory, Chrome could STOP shipping Blink with Chrome, and ship Chrome more like they do for iOS, where the rendering engine is part of the OS not browser app.

Re:Goodbye, EdgeHTML by tflinton on Thursday December 06, 2018 @05:38PM (#18623143)
Firefox is also undergoing a large rewrite with the quantum stuff with more of an emphasis on rust. Chromium is c++ and already has decent tooling for embedding. Honestly, Firefox is trying to be where the puck is going. Chromium is great but stagnating.
Re:Goodbye, EdgeHTML by baroffoos on Thursday December 06, 2018 @10:21PM (#18624884)
What do you mean by chromium is stagnating?
Re:Goodbye, EdgeHTML by paxy on Thursday December 06, 2018 @05:24PM (#18622986)
I doubt it. This move has a lot to do with Electron, which runs on Chromium.