News for hackers. Stuff that matters.
Re:Blink: A rendering engine for the Chromium project by TazeTSchnitzel on Wednesday April 03, 2013 @05:31PM (#5489264)
Rendering engine monoculture isn't a good thing though. If a single rendering engine dominates, then there is less reason to write standards-compliant code - after all, everyone uses WebKit, right?
Re:Blink: A rendering engine for the Chromium project by jmesserly on Wednesday April 03, 2013 @05:46PM (#5489384)
Yeah. It would be the same problem that WebSQL had: http://www.w3.org/TR/webdatabase/

As much as I was sad to see it go, I sympathize with their problem. If you just have a single C/C++ implementation with no spec, it's a lot harder to know, as a user/web developer, what the correct behavior is and what you can rely on.

Re:Blink: A rendering engine for the Chromium project by TazeTSchnitzel on Wednesday April 03, 2013 @05:50PM (#5489421)
Indeed.

It's a shame WebSQL died, though, since I would have loved to have had SQLite in the browser. Maybe the solution would have been to specify a similar, new, SQL database for the web? I would have liked that more than IndexedDB.

Re:Blink: A rendering engine for the Chromium project by dragonwriter on Wednesday April 03, 2013 @07:03PM (#5489891)
> Maybe the solution would have been to specify a similar, new, SQL database for the web?

That would certainly have been a solution, but I think one of the reasons WebSQL went with "use SQLite" as a shortcut was that it was a lot easier. If you specify a reasonably-implementable subset of SQL, you are stuck with that, and you can't piggyback on SQLite maintenance.

I think the decision to abandon WebSQL for IndexedDB rather than expand the spec into something where independent implementations were feasible was probably based on the cost/benefit perceived with having to maintain a separate, browser-specific RDBMS implementation.

Re:Blink: A rendering engine for the Chromium project by ConstantineXVI on Wednesday April 03, 2013 @06:12PM (#5489565)
Why not a JS implementation of a SQL database?
Re:Blink: A rendering engine for the Chromium project by natem345 on Wednesday April 03, 2013 @05:36PM (#5489305)
Just like everyone used IE6 back in the day!
Re:Blink: A rendering engine for the Chromium project by TazeTSchnitzel on Wednesday April 03, 2013 @05:40PM (#5489339)
Yeah, it was wonderful! The alternate browsers just accepted the standards dictated by the dominant browser, and that didn't cause any problems at all!

/s