Live data from Hacker News

“The colored boxes indicate which CPU core performed layout for each node”

blog.servo.org

51–60 of 61 posts

Re: “The colored boxes indicate which CPU core performed layout for each node”

#53
post #10

Earlier quoted context omitted.

New browser engine from Mozilla. One of its prime objectives is to build an engine that can leverage the multiples cores we have to day and work stuff in parallel. It still not ready for prime use but its growing really well. IIRC its built with Rust and maybe some unsafe C/C++ code (unsafe in terms of Rust) for things such as the JS engine. More info about Rust at http://www.rust-lang.org/ More info about Servo at h…

C++ used for graphics also.

Thanks! Didn't knew that :D

Re: “The colored boxes indicate which CPU core performed layout for each node”

#54
post #40
post #21

Earlier quoted context omitted.

do typical webpages need this level of performance for a satisfactory user experience? It's needed because low-end phones have 8 slow cores instead of 2 fast cores.

Low end phones have 1 slow core, as far as I'm aware. I'm not aware of very many 8 core phones, let alone low end ones.

GP meant low end smartphones. The first 64 bit android phone was one with 8 A53s coming out in China. Before that using 8 A7s was very popular. Small cores are very small compared to higher end cores. Part of this is 8 being a lucky number.

Re: “The colored boxes indicate which CPU core performed layout for each node”

#55

Added the servo blog to my rss reader, waiting for the article that announce a compiled release.

Thanks for following it!

There's probably still time for this. We could create a nightly distribution of Servo in a day or so; but at the moment I don't think we see a need of this, especially given that there are still a couple of things (like everything needed for jQuery support) which we should get working first so that sites actually work in Servo. Perhaps this quarter we'll get all these features done.

(FWIW we have a nightly android apk distribution, but at the moment it's broken due to openssl strangeness)

Re: “The colored boxes indicate which CPU core performed layout for each node”

#56
post #5

Here's a PR showing off a different visualization, that of parallel painting of tiles: https://github.com/servo/servo/pull/4969

All of this work is really making Servo look more and more like it's going to be the future of browsers. I'm amazed that they're able to get the layout as parallelized as they are, and with the painting being like that I think it's got a great shot at being one of the more performant browsers on mobile.

I think all existing mobile browsers to tiled painting already.

Re: “The colored boxes indicate which CPU core performed layout for each node”

#57

Earlier quoted context omitted.

WebKit actually has quite a lot of fairly nice, simple easy-to-read C++, especially around the DOM. Or at least did a few years ago, and I believe it's still mostly the case. I remember asking for advice years ago where to cut my teeth on C++ and getting suggested WebKit by several — and people who weren't trying to lead me massively into a pit of doom. (Admittedly, I've still practically never contributed to WebKit,…

One nice—and, I think, underappreciated—thing about Servo layout is that the parallelism forces you to organize your algorithms cleanly. Unlike every other engine, render objects in Servo are not responsible for laying out their children recursively; the higher-level parallel traversal driver does that. That means that you must write your layout code in such a way that the right information is available at the time t…

Right — and it's hardly surprising that Servo's codebase is in many ways nicer than existing browsers (both because of the inherent separation parallelization causes, and the lessons learnt from existing browsers). And given layout has always been arguably the worst part, it's hardly surprising that Servo shows good gains there.

Re: “The colored boxes indicate which CPU core performed layout for each node”

#58

'Servo has another browser chrome!" I like these competition jokes :)

Heh. That wasn't intentionally a joke (I wrote that bit), but I can see how it sounds like one. "chrome" is a term for the stuff that's part of a browser but not the browser engine (the rest of the UI). I did realize that that term could be misinterpreted (damn you Google) and thoought of alternative ways of putting it, but I couldn't come up with anything. "GUI" and "shell" both sounded wrong. When I said "another"…

I don't think it's a thing you should replace. Remember these stories about Netscape and MS? Funny time :) I'm sure people from both sides feel nothing except smiles in their souls, remembering these "wars".

Re: “The colored boxes indicate which CPU core performed layout for each node”

#59
post #56

Earlier quoted context omitted.

All of this work is really making Servo look more and more like it's going to be the future of browsers. I'm amazed that they're able to get the layout as parallelized as they are, and with the painting being like that I think it's got a great shot at being one of the more performant browsers on mobile.

I think all existing mobile browsers to tiled painting already.

They do, but not all of them parallelize it. (Chrome does, I believe.)

Re: “The colored boxes indicate which CPU core performed layout for each node”

#60
post #40
post #21

Earlier quoted context omitted.

do typical webpages need this level of performance for a satisfactory user experience? It's needed because low-end phones have 8 slow cores instead of 2 fast cores.

Low end phones have 1 slow core, as far as I'm aware. I'm not aware of very many 8 core phones, let alone low end ones.

bought a knock-off Lenovo S850p (which is decidedly not lenovo) off Aliexpress a few months back [1]. unit legitimately has 8-cores (Mediatek 6595 Processor), and 4GB of ram. Other than the abysmal viewing angle, it's an incredible piece of hardware, especially for $100.

I install Xiaomi's latest MIUI on them (and Play Store), and then resell them locally for $300 each. and people tell me they're stealing them from me at that price.

1. http://www.aliexpress.com/item/Original-lenovo-s850c-Max-4G-...

Post reply on HN