How a small KDE project became the engine powering the modern internet's browsers.
In short: WebKit began in 1998 as a modest layout engine for KDE. Today, it serves as the foundation for Apple's Safari and countless other platforms, from gaming consoles to e-book readers. Its journey from a niche open-source fork to a global standard is a story of rapid innovation and architectural evolution.
The origins of WebKit trace back to 1998, when it began as the KDE HTML (KHTML) and KDE JavaScript (KJS) libraries. In 2001, Apple developer Lisa Melton initiated a fork of these projects, seeking a codebase that was compact, cleanly designed, and standards-compliant. Apple ported these components to macOS, renaming them WebCore and JavaScriptCore. This transition was not without friction; the relationship between Apple and the original KDE developers was famously described as a bitter failure, marked by disputes over documentation, non-disclosure agreements, and the difficulty of integrating Apple's large, opaque patches back into the KHTML project.
Despite this rocky start, the project matured rapidly. Apple open-sourced WebKit in 2005, inviting broader collaboration. The engine underwent significant technical transformations, most notably the 2008 introduction of SquirrelFish, a bytecode interpreter that evolved into SquirrelFish Extreme (SFX). This innovation introduced just-in-time compilation, drastically accelerating JavaScript execution. By 2010, the project launched WebKit2, a major architectural redesign that isolated web content into separate processes from the application interface, enhancing stability and security. This shift necessitated an incompatible API change, leading to the rebranding of the original interface as the WebKitLegacy API.
WebKit's influence is pervasive, powering Safari, various mobile operating systems, and even embedded devices like set-top boxes. While Google famously forked WebCore in 2013 to create the Blink engine—now used by Chrome and Opera—WebKit remains a vital, actively maintained standard. It continues to evolve through ports like WPE for embedded systems and advanced JIT compilers like FTL and B3. Today, it stands as a testament to the power of open-source collaboration, having grown from fewer than 140,000 lines of code into a sophisticated, multi-platform engine that defines how we interact with the digital world.
Opens the Intellect+ feed with this card first. Swipe up for the next one.
Sources
- Summary by Intellect · source: WebKit
To cite this card, link to https://intellectplus.co.uk/app/technology-webkit.
How we source, check and correct cards: Editorial standards.
General information, not professional advice. Spotted an error? Flag the card or see corrections and complaints.
Intellect Plus is a visual educational discovery platform for exploring fascinating facts and ideas. Brain Food, Not Brain Rot. What is Intellect Plus?
Related
More in Computing and information technology · More in Technology · Latest · A–Z · All topics