I'm not a Mozilla fan at all, but the Rust and Servo team certainly don't fuck around.
This Week In Servo 69
41–50 of 70 posts
Re: This Week In Servo 69
#42Re: This Week In Servo 69
#43Re: This Week In Servo 69
#44Are they doing security testing as they go? I'm really looking forward to seeing how it fares against the typical "use after free" javascript errors that pwn to own always demo's. I'm not particularly a fan of Rust, but I certainly like the ideas that they are trying to incorporate in it. Great stuff. Looking forward to see how it evolves.
https://blog.mozilla.org/research/2014/08/26/javascript-serv...
Re: This Week In Servo 69
#45Servo is using zero-copy parallel parsing of html, css and parallel rendering, right? Is it trying to reduce in-going data duplication? Any insiders (actually understanding this questions ;) who can comment on this?
zero copy yes, parallel I don't know
We do selector matching in parallel (parsing is probably serial?), layout in parallel, and offload almost all of the rendering work onto the GPU.
Not sure what you mean by "in-going data duplication". We try to be zero-copy when we can, and share as much as possible. Rust helps here; because you are free to try and share things without worrying if they will go out of scope too early, and the compiler will tell you if your guess was wrong.
Re: This Week In Servo 69
#46Earlier quoted context omitted.
So they achieved a 25% performance increase all from better parsing and a better algorithm for this[1] list? That's unexpected indead. I would love to see a blogpost with details on that. [1] https://publicsuffix.org/list/public_suffix_list.dat
They changed the implementation from always iterating over this 6000 length array: https://github.com/fduraffourg/servo/blob/8bb853f64354b2cc1b... to a HashSet which is only filled once based on a text file. The domain list also more easily updated now with a python script.
Re: This Week In Servo 69
#47Totally irrelevant: But did anybody else notice '(John) Connor (Kate) Brewster'?
Re: This Week In Servo 69
#48Re: This Week In Servo 69
#49Servo is using zero-copy parallel parsing of html, css and parallel rendering, right? Is it trying to reduce in-going data duplication? Any insiders (actually understanding this questions ;) who can comment on this?
> zero-copy parallel parsing of html, zero copy yes, parallel I don't know We do selector matching in parallel (parsing is probably serial?), layout in parallel, and offload almost all of the rendering work onto the GPU. Not sure what you mean by "in-going data duplication". We try to be zero-copy when we can, and share as much as possible. Rust helps here; because you are free to try and share things without worryin…
"in-going data duplication" ummm... i guess i meant ;) duplication of the incoming data (network packets->buffers->resources like html-files etc) in the sense of trying to minimize the amount of data duplicated and moved around to be used by various code-parts.
Most probably the most interesting parts are those areas where even Rust can't really "help" to prevent that. thanks
Re: This Week In Servo 69
#50Earlier quoted context omitted.
https://servo.org also has a "Contributing" section, which links to bugs tagged as "easy" for new contributors.
The "easy" bugs get picked up super fast, so it seems you need to keep a close eye on the issue tracker.