Web Browser Engineering Blog

Share this post

Chapter 12

browserbook.substack.com

Chapter 12

Chris Harrelson
Feb 14, 2022
Share this post

Chapter 12

browserbook.substack.com

Happy 2022 everyone! Chapter 12, Scheduling Tasks and Threads, is here! It continues the theme of Modern Browsers: browser features necessary to support the interactive and app-like web of today, just like the high-performance and featureful rastering library introduced in Chapter 11. In this chapter, we say goodbye to the simplicity of a single-threaded browser and hello to the brave new world of a multithreaded, task-based architecture. This allows us to introduce one of the most important modern browser features of all: threaded scrolling that is isolated from layout and JavaScript.

I’ve been working on this chapter off and on for quite a while. It continues on themes that I know well from my experience on the Chrome team. And once again, I had to work really hard to boil it down to the most important points and tell the story in a clear and compelling way. I think I might have deleted more code than I included. (But never fear: an upcoming chapter, tentatively titled Compositing and Animation, will bring some of that text back!)

Please continue to give us feedback and tell your friends all about the book. And follow our blog and Twitter, and particulate in the Github Discussions with questions and answers for the community. We continue to be grateful for our supporters on Patreon; please consider becoming a supporter as well. If we get enough funds, perhaps we can have enough to pay for some copy editing and visuals!

Share this post

Chapter 12

browserbook.substack.com
Comments
TopNewCommunity

No posts

Ready for more?

© 2023 Pavel Panchekha and Chris Harrelson
Privacy ∙ Terms ∙ Collection notice
Start WritingGet the app
Substack is the home for great writing