Cooling

Web Browser Engineering: build your own browser in ~3,000 lines of Python

Heat 38 · #108 in Tech · Cooling2 reports · 2 sources · First reported 2021 · Updated Nov 20

The story

Web Browser Engineering, a free book by Pavel Panchekha and Chris Harrelson, teaches how a browser works by having the reader build one. Starting from networking and working through to JavaScript, the text develops a basic but complete browser in a couple of thousand lines of Python — about 1,000 lines for the first three parts and roughly 3,000 in total. The web edition dates to 2021; an Oxford University Press hardback followed in December 2024, and the text is available open access under a CC BY-NC-ND licence.
Latest development
cooling, formula 58.0, stored 38.0

How it unfolded

  1. cooling, formula 58.0, stored 38.0
  2. single-platform entry at exactly 66.0 per Lonewolf/JEPA/Switcher precedent
  3. search found only the book itself, a 2022 toy-browser blog, Simon Willison's 2021 archive, the OUP book page and booksellers - no coverage of this HN post itself, no current multi-platform resonance
  4. web edition dates to 2021 (HN title), OUP hardback 12 Dec 2024, open access CC BY-NC-ND
  5. free open book by Pavel Panchekha & Chris Harrelson: build a basic but complete browser from networking to JavaScript in a couple thousand lines of Python (~1,000 lines for parts 1-3, ~3,000 total)

The angle

Build a browser in 3,000 lines of Python - what the free book covers and who should read itSuggested format: Short video · for Developers and CS-curious audience

Coverage (2)

Heat

Now 38 · Peak 38 · 64 recorded checks since Nov 20
Full ranking →