News for hackers. Stuff that matters.
Re:Blink: A rendering engine for the Chromium project by ebbv on Wednesday April 03, 2013 @05:05PM (#5489058)
I can't help but think that forking WebKit is a business based decision since Apple controls WebKit.

This blog post doesn't make an engineering based argument* so I'm left with the business ones. Which sucks.

* - Just vague "we need to innovate faster" boilerplate. Which is what business people say when there's not a solid engineering based reason.

EDIT:

At the bottom of the project page are some engineering reasons:

http://www.chromium.org/blink

Each person can judge whether it's worth forking or not.

Re:Blink: A rendering engine for the Chromium project by tolmasky on Wednesday April 03, 2013 @05:14PM (#5489136)
If you look at the commits, there's a fair argument that Google "controls" WebKit. You could almost say Apple got KHTML'ed ;)

I believe this is an honest move. This is what happens with software. Goals change, old code and design no longer makes sense, you refactor or rewrite. The architecture of WebKit was created to address goals that are a decade old now. The multi-process nature of Chrome alone, an amazing achievement and really quite elegant if you've looked at the way they bolted it on, was bolted on all the same.

V8 without a doubt re-invigorated JavaScript. When V8 was announced there was a lot of "do we really need another JS engine" arguments. You could argue that other engines were getting fast as well, but v8 got people really thinking about JavaScript outside the browser. I am excited to see what new insights this new rendering engine brings -- and what unexpected positive consequences it generates.

Re:Blink: A rendering engine for the Chromium project by MatthewPhillips on Wednesday April 03, 2013 @05:40PM (#5489340)
If you want to really put a tinfoil cap on, you could say that by Google contributing to WebKit they are giving Apple a lot of free code, allowing them to devote fewer resources to their browser. Once Blink diverges father from WebKit it won't be practical for WebKit to merge in changes from there.

One has to wonder if Google will be recruiting other WebKit contributors (RIM, Intel, Nokia, etc) to move over to Blink. This would put Apple in a tough spot.

Re:Blink: A rendering engine for the Chromium project by mikewest on Wednesday April 03, 2013 @05:45PM (#5489378)
Blink remains very much open source: the repository should be visible in a minute or three.

We're going to be even more transparent than we currently are, actually, about how things get added to the platform http://www.chromium.org/blink#new-features. I'm pretty excited about how that's going to play out with regard to sharing ideas and implementations.

Re:Blink: A rendering engine for the Chromium project by MatthewPhillips on Wednesday April 03, 2013 @05:52PM (#5489436)
Of course, I wasn't claiming otherwise, but over time porting code to WebKit from Blink will become more trouble than it's worth. They can still learn from it, but you can hardly deny that this move is going to cause WebKit some pain to fill in the tremendous amount of work you guys were doing (the part about this being the reason for the move was, of course, completely a joke.
Re:Blink: A rendering engine for the Chromium project by mikewest on Wednesday April 03, 2013 @06:06PM (#5489524)
The two engines will diverge, yes. I think it'll be better for both in the long run, as we simply have fundamentally different architectural approaches to some pretty core problems the engines are meant to solve. There will be short term adjustments on both sides as we get used to the new options that are now available.

I'm honestly quite hopeful, both about Blink, and about WebKit.

Re:Blink: A rendering engine for the Chromium project by simonster on Wednesday April 03, 2013 @05:11PM (#5489107)
Apple doesn't actually control WebKit. A decent proportion of reviewers at http://trac.webkit.org/wiki/WebKit%20Team are Google employees.

The engineering argument is that the differences between Chromium's multi-process model and WebKit2 are big enough that, in order for both projects to move forward, Google needs to fork WebKit. I'm not competent to judge whether this is actually true.

Re:Blink: A rendering engine for the Chromium project by mikewest on Wednesday April 03, 2013 @05:36PM (#5489313)
http://trac.webkit.org/wiki/WebKit2 outlines the technical differences between the architectures pretty well. Suffice it to say, the model runs deep, and has real impact on the way things like WebCore are put together.
Re:Blink: A rendering engine for the Chromium project by fpgeek on Wednesday April 03, 2013 @10:22PM (#5490582)
Speaking of reviewers, it looked like there were (maybe) a handful of WebKit reviewers that meet the following criteria:

1. Not affiliated with Apple or Google.

2. Not specifically associated with a port in terms of their review areas.

To me, that says a lot about how WebKit governance works in practice.

Re:Blink: A rendering engine for the Chromium project by mikewest on Wednesday April 03, 2013 @05:11PM (#5489106)
http://www.chromium.org/blink/developer-faq has a bit more information, as does http://www.chromium.org/blink#architectural-changes. There really are good architectural reasons to go in this direction.
Re:Blink: A rendering engine for the Chromium project by alxndr on Wednesday April 03, 2013 @05:13PM (#5489129)
Ars has slightly more...

>Longer term, we can expect to see Blink evolve in a different direction from WebKit. Upson and Komoroske told us that there were all manner of ideas that may or may not pan out that Google would like to try. The company says that forking WebKit will give it the flexibility to do so.

http://arstechnica.com/information-technology/2013/04/google...

Re:Blink: A rendering engine for the Chromium project by lukifer on Wednesday April 03, 2013 @05:15PM (#5489150)
If there is an engineering argument, I'm guessing it's to do with multi-threaded DOM+JS, given the mention of multi-process architecture.

Also, how much does Apple really control WebKit? At a glance, it looks to me like FOSS. (Apple might be the maintainer, but it seems trivial to fork it in a different direction.) Perhaps this is a more nebulous "thought leadership" kind of thing?

Re:Blink: A rendering engine for the Chromium project by mtgx on Wednesday April 03, 2013 @05:13PM (#5489126)
How does Apple control webkit? Doesn't Google have like 50% of the commits to webkit?
Re:Blink: A rendering engine for the Chromium project by mankyd on Wednesday April 03, 2013 @05:08PM (#5489086)
a) Why does that suck?

b) Although it is a little hand wavey, they do make an engineering argument: "However, Chromium uses a different multi-process architecture than other WebKit-based browsers, and supporting multiple architectures over the years has led to increasing complexity for both the WebKit and Chromium projects."

Re:Blink: A rendering engine for the Chromium project by dragonwriter on Wednesday April 03, 2013 @06:14PM (#5489586)
> Although it is a little hand wavey, they do make an engineering argument:

Immediately being able to eliminate and not worry about maintaining 7,000 files comprising 4.5 million LOC seems to be a pretty concrete benefit, rather than a hand-wavey one.

Re:Blink: A rendering engine for the Chromium project by alexchamberlain on Thursday April 04, 2013 @03:10AM (#5491405)
It looks like a lot of C++ projects atm; we need to throw out the chronies and fix their spaghetti code.
Re:Blink: A rendering engine for the Chromium project by yanw on Wednesday April 03, 2013 @05:12PM (#5489117)
Chromium uses a different multi-process architecture ... and supporting multiple architectures over the years has led to increasing complexity ... we anticipate that we’ll be able to remove 7 build systems and delete more than 7,000 files—comprising more than 4.5 million lines

How is that not engineering based?

Re:Blink: A rendering engine for the Chromium project by nnethercote on Wednesday April 03, 2013 @09:39PM (#5490441)
Last time I measured (late 2012) the entire mozilla-central repository was 4.488 million lines of code. So I don't believe that by simply streamlining things they'll be able to remove anything like 4.5 million lines. Perhaps an extra zero got inserted somewhere.
Re:Blink: A rendering engine for the Chromium project by dragonwriter on Thursday April 04, 2013 @12:52AM (#5491045)
> Last time I measured (late 2012) the entire mozilla-central repository was 4.488 million lines of code.

Mozilla isn't WebKit.

> I don't believe that by simply streamlining things they'll be able to remove anything like 4.5 million lines.

I suppose you could compare WebKit repos against Blink repos once the latter is live to see exactly what is cut, but I'm going to say the people working on the code that are the source of the count know how many LOC are involved, and that there direct count is more reliable than a third-party estimate based on a different browser's repo.

Re:Blink: A rendering engine for the Chromium project by nnethercote on Thursday April 04, 2013 @06:00AM (#5491779)
http://www.ohloh.net/p/WebKit claims that WebKit is 4,825,108 LOC.

http://www.ohloh.net/p/mozilla claims that Mozilla is 11,614,049 lines of code.

Hmm. Not sure what to make of that, but the "we're removing 4.5 MLOC" claim still sounds ridiculous.

Re:Blink: A rendering engine for the Chromium project by smackfu on Thursday April 04, 2013 @09:34AM (#5492506)
Seems a very odd part of the announcement to question. Why wouldn't they know the real number?
Re:Blink: A rendering engine for the Chromium project by simonster on Thursday April 04, 2013 @03:49PM (#5494827)
I think the implication is that most of the code they are removing is not actually code, but boilerplate/machine-generated build scripts/etc. Still, the number of LOC involved has little bearing on whether or not splitting from WebKit is a good idea.
Re:Blink: A rendering engine for the Chromium project by simonster on Thursday April 04, 2013 @12:19AM (#5490959)
Not sure why this is got downvoted given that it appears to be correct (https://github.com/mozilla/mozilla-central/graphs/code-frequ...)
Re:Blink: A rendering engine for the Chromium project by signed0 on Wednesday April 03, 2013 @11:03PM (#5490725)
4.5 million lines spread over 7,000 files is only ~642 lines per file, so I doubt there is an extra zero. Perhaps they included whitespace and comments in their count.
Re:Blink: A rendering engine for the Chromium project by drivebyacct2 on Wednesday April 03, 2013 @05:12PM (#5489122)
Of course the blog post doesn't go into technical detail. But if you would explore just a single link deeper you would see a pretty good explanation of the changes they're making. It's pretty obvious why they're doing it. It improves and greatly eases the amount of effort required to port/utilize Chromium/Blink not to mention the other benefits from the architecture that they indicate will enable better multithreading.