news.volyx.in

Web Browser Engineering (2021) (browser.engineering)

770 points by MrVandemar · 661 days ago · 132 comments on HN

Article summary

The article introduces the book 'Web Browser Engineering' which explains how web browsers work by building a basic web browser from scratch in Python. The book covers topics such as loading pages, viewing documents, running applications, and modern browser features. It is available for purchase and has a discussion forum on Github. The authors aim to provide a comprehensive understanding of web browser engineering.

Main themes

  • Web Browser Engineering
  • Browser Development
  • Python Programming
  • Browser Internals
  • Alternative Browsers

What commenters say

  • The book 'Web Browser Engineering' is a valuable resource for understanding how web browsers work and is written in an approachable way using Python.
  • Some commenters appreciate the book and the efforts of its authors, while others are skeptical about the impact of alternative browser engines on the market.
  • There is a perceived lack of teaching materials and common knowledge about browser development, which the book aims to address.
  • The dominance of Chrome and the challenges of creating a competitive alternative browser engine are discussed, with some arguing that having a great browser engine is not enough to break the market dominance.
  • Some commenters suggest that the focus should be on creating new technologies and formats that can replace or improve upon HTML, rather than trying to implement it from scratch.
  • The use of Skia as a 2D graphics library is discussed, with some commenters noting its widespread adoption in the browser industry and its potential for cross-platform GUI development.
  • There are differing opinions on the feasibility and usefulness of creating a browser that only runs WebAssembly (WASM) and has a minimal JavaScript runtime.
  • The complexity of implementing HTML from scratch is highlighted, with some arguing that it is not worth the effort due to the spec being owned by Google and Apple and being too complex.