3 ms·
I thought Blink was trying to Implement the DOM in JS? So it would have less C++ code but more JS.
by Siecje 12y ago
I thought Blink was trying to Implement the DOM in JS?
So it would have less C++ code but more JS.
- Touche 12y agoNot sure where you got that idea from.
- progers7 12y agoThis idea is being considered: https://docs.google.com/a/google.com/presentation/d/1XvZdAF29Fgn19GCjDhHhlsECJAfOR49tpUFWrbtQAwU/preview?sle=true#slide=id.g3840fe06e_00 https://docs.google.com/a/google.com/presentation/d/1XvZdAF2...
- Touche 12y agoThat is really awesome.
- mccr8 12y agoFWIW, Firefox has supported something along those lines for a long time, through XPCOM. A little over a year ago, I implemented something slightly more modern for WebIDL in Firefox. Our approach, and I believe the approach described in these slides, is too heavyweight for things like elements that need to be very high performance, but it is useful for a lot of things.
- dpino 12y ago"Finally we’d like to explore even larger ideas like moving the entire Document Object Model (DOM) into JavaScript. This has the potential to make JavaScript DOM access dramatically faster" http://www.chromium.org/blink http://www.chromium.org/blink
- polskibus 12y agoVery much aligned with React.js approach.
- Flow 12y agoI think it's a very cool idea as this could let the JIT melt together browser code with user code to one tight piece of code.
- reflectiv 12y agoThis is interesting...one of the new javascript frameworks on the block (React.js, http://facebook.github.io/react/ http://facebook.github.io/react/) has made use of a 'virtual dom' which basically does a diff and compares it to what was already rendered and then does minimal changes to express the new state based on that. From what I hear (I have yet to dive into React, although I plan on it) this makes it VERY fast...because the DOM is essentially touched as little as possible directly.
- dragonwriter 12y agoI got the impression that was one of the long-term ideas that Blink might pursue rather than an active immediate focus of effort after the fork.