惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Apple Machine Learning Research
Apple Machine Learning Research
Application and Cybersecurity Blog
Application and Cybersecurity Blog
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
T
Tenable Blog
P
Proofpoint News Feed
爱范儿
爱范儿
The Hacker News
The Hacker News
W
WeLiveSecurity
WordPress大学
WordPress大学
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
The Register - Security
The Register - Security
I
Intezer
S
SegmentFault 最新的问题
P
Privacy & Cybersecurity Law Blog
人人都是产品经理
人人都是产品经理
Security Archives - TechRepublic
Security Archives - TechRepublic
G
Google Developers Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
G
GRAHAM CLULEY
MongoDB | Blog
MongoDB | Blog
Blog — PlanetScale
Blog — PlanetScale
Hugging Face - Blog
Hugging Face - Blog
P
Palo Alto Networks Blog
A
About on SuperTechFans
Attack and Defense Labs
Attack and Defense Labs
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
D
Darknet – Hacking Tools, Hacker News & Cyber Security
博客园_首页
SecWiki News
SecWiki News
博客园 - 聂微东
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Hacker News - Newest:
Hacker News - Newest: "LLM"
Last Week in AI
Last Week in AI
Forbes - Security
Forbes - Security
C
Cyber Attacks, Cyber Crime and Cyber Security
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
F
Full Disclosure
Help Net Security
Help Net Security
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
P
Proofpoint News Feed
S
Schneier on Security
K
Kaspersky official blog
S
Secure Thoughts
C
Cisco Blogs
T
Tor Project blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
L
LangChain Blog
Hacker News: Ask HN
Hacker News: Ask HN
N
News and Events Feed by Topic
MyScale Blog
MyScale Blog

Lobsters

Lunacy | Red Vice CIFSwitch: a non-universal Linux local root vulnerability RIPE NCC session fixation: poaching logins with an Atlas probe GNOME 2.20 but its Web Components Agentic Search for Context Engineering – Leonie Monigatti Garnix is shutting down [not OC] akashina.tngl.sh/jjc Concerning Emacs (and Jazz) Nitpicking the shell history scene in ‘Tron: Legacy’ What's cooking on SourceHut? Q2 2026 The tenth OpenPGP email summit Package managers that package package managers Clojure on Fennel part three: parsing WordPress at 23 Finding Miscompiles for Fun, Not Profit GitHub - creusot-rs/creusot: Creusot helps you prove your Rust code is correct. Announcing Rust 1.96.0 | Rust Blog A Love Letter to Neovim sqlite AGENTS.md Am I a Bad Friend? CSS vs. JavaScript • Josh W. Comeau Erlang Ecosystem Foundation - Supporting the BEAM community A brief note about slot access cost in Common Lisp Keyboard latency probe Rethinking the GNOME clipboard issues Back to the Building Blocks’ Building Blocks Tech Notes: Theseus: translating win32 to wasm Fast is better than slow Content-addressed Rust builds (or, what kache actually caches) Intent to Prototype: Embedding API Canada’s Bill C-22 and the security cost of collecting more data 5 PostgreSQL locking behaviors that trip people up okmij.org Stop advertising in your commits! | AksDev Introducing DoomBench - Can Your Data Stack Run DOOM? What are some of your favourite developer tools? Building a Scalable Ingestion Pipeline with Temporal (Part 1) Converting shallow Git bundles into normal repositories Are you a member of any professional associations? What is a harmonic? An interactive comic about additive synthesis How Virtual Tables Work in the Itanium C++ ABI Using SwiftUI to Build a Mac-assed App in 2026 Rust (and Slint) on a jailbroken Kindle. ~jack/lambda-on-lambda - Serverless Haskell on AWS - sourcehut git Human proof for FOSS contributions Extremely simple internet radio controlled via IRC Announcing BABLR Splitting Konsole views from Helix to run tools | AksDev GitHub - yugr/rust-slides Serving files over HTTP three ways: synchronous, epoll, and io_uring update docs with information about building with build.py (#979) · astral-sh/python-build-standalone@c9c40c5 A Simple Makefile Tutorial On C extensions, portability, and alternative compilers Switching to Colemak | Pedro Alves Just How Bad Was The Intel IAPX432? Nix's Substituter List Is Not a Routing Table Accelerating copy_if using SIMD Lambda on Lambda: Serverless Haskell on AWS | Blog Announcing feed-repeat v1.0 Scaling Akvorado BMP RIB with sharding EYG news: A host of CLI improvements, new guides and new effects The social contract of writing JS Crossword C array types are weird; and related topics Flatpak will depend on systemd – OSnews Migrating from Go to Rust | corrode Rust Consulting A portentous reunion Vivado Licensing Options How my minimal, memory-safe Go rsync steers clear of vulnerabilities the entropy layer of a wavelet codec, on its own GitHub - nferhat/fht-compositor: A dynamic tiling Wayland compositor. Debian SE Linux and PinTheft Does bulk memmove speed up std::remove_if? (No.) 声明式部分更新 | Blog | Chrome for Developers Fully in-browser container builds Dianne Skoll's Web Site - Remind The Architecture of Open Source Applications (Volume 1)Berkeley DB Pardon MIE? - ironPeak Blog “Long-Term Support” doesn’t mean what you think Jira IS Turing-Complete May I recommend thinking of Emacs as your Fortress of Solitude hershey Floodgap Gopher-HTTP gateway gopher://thelambdalab.xyz/1cuneiforth/ HP QuickWeb, Singular And Pointless That one time I used Go panics for flow control A new suite of modern tools coming for editing and publishing RFCs From the Tabletop… The Digital Antiquarian Building a Host-Tuned GCC to Make GCC Compile Faster Are we self-sovereign PKI yet? Claw Patrol: an open-source security firewall for agents | Deno Revised^7 Report on Scheme, Large: Procedural Fascicle Draft is now public A Network Allow-List Won't Stop Exfiltration — André Graf From AFSK to Goertzel – µArt.cz Software For My New Home Server Introducing Neptune: Direct3D virtualization for QEMU AI Agent Bankrupted Their Operator While Trying to Scan DN42 - Lan Tian @ Blog mimalloc: A new, high-performance, scalable memory allocator for the modern era Making wl_shm fast The Soul of Maintaining a New Machine - Third Draft | Books in Progress What is Git made of?
GitHub - mplsllc/macsurf: A modern web browser for Classic Mac OS 9 PowerPC. Real CSS3, ES5 JavaScript, native HTTPS — built with CodeWarrior on the Carbon API.
mplsllc · 2026-05-27 · via Lobsters

MacSurf

The modern web, on a 25-year-old Mac.

MacSurf is a web browser for Classic Mac OS 9 PowerPC. CSS3, ES5 JavaScript, and PNGs with alpha — running on a G3 iMac.

Buy Me A Coffee

MacSurf is a nights-and-weekends project. If it brought your old Mac back to the web, a coffee helps keep development going.

Open issues Stars Mac OS 9 PowerPC Built with CodeWarrior Carbon API CSS coverage JavaScript engine

Mac OS 9, meet TLS — Native, no proxy needed.

Intro Video

Watch the video

Note

Early alpha — it runs, renders, and speaks TLS 1.3 natively on a 233 MHz G3, but most of the modern web won't work in it yet. Expect hand-built pages, retro-style sites, and the strange thrill of ES5 JavaScript on PowerPC. Don't expect smooth browsing on arbitrary modern sites, video, or anything React-heavy.

If you've got a Power Mac G3 or G4 sitting around, load it up and see what breaks — bug reports and real-hardware screenshots are exactly what this project needs. See docs/status.md for the current punch list.


Why this exists

The web outgrew Classic Mac OS twenty years ago. Modern HTTPS finished it off around 2016. Pull a G3 or G4 out of the closet today and it can barely reach a single live website.

MacSurf is an attempt to fix that on the machine itself — no screenshot proxy, no remote terminal trick. A native browser, built with the tools that were already on the platform: CodeWarrior, Carbon, QuickDraw, Open Transport. Real CSS3 layouts and real JavaScript, running inside the 64 MB memory floor of a 1999 iMac. Since late May 2026 it speaks TLS 1.2 directly to the modern web through macTLS, a BearSSL-based stack that ships inside the browser binary with 121 trust anchors from the Mozilla CA bundle. No proxy needed anymore.

As far as we can tell, this is the first serious NetSurf port to Classic Mac OS, and the first browser ever shipped on Mac OS 9 with native CSS Grid, CSS custom properties, and ES5 JavaScript.


The progression

Each shot below is a real milestone, captured on a Power Macintosh G3 running Mac OS 9. The fix-number annotations match this repo's commit history.

JavaScript Hello World on Mac OS 9
v0.2: JavaScript on Mac OS 9
First real-world JS-bearing page. Duktape 2.7.0 ES5 evaluating live: Math.sqrt, JSON, ES5 array methods.
CSS transform rotate, scale, translate
fixes73: CSS transforms
Native transform: rotate() / scale() / translate(). Integer Q15 sin/cos table, no FPU dependency, arbitrary angles on QuickDraw.
CSS radial gradients
fixes74d: radial gradients
2-stop radial gradients via concentric PaintOval stack. 16 levels smeared on decode. Shape + position keywords parsed.
CSS animations: wiggle, swing, slow spin
fixes77: CSS animations
Linear ping-pong animation player on top of fixes73 rotation. Wiggle, swing, and full 0°→359° spin.
PNG image with transparency on Mac OS 9
fixes79b: PNG transparency
QuickTime Graphics Importer feeding the NetSurf image content handler. PNG + GIF + BMP, all with real transparency.
CSS word-break and overflow-wrap
fixes136: word-break / overflow-wrap
word-break: break-all, keep-all, white-space: nowrap, legacy word-wrap: break-word. URL-style aggressive wrapping.
CSS z-index stacking contexts
fixes147: stacking contexts
CSS 2.1 painting order. Opacity, transforms, and explicit z-index all create new stacking contexts, properly painted on real hardware.
CSS Grid column placement
fixes151: CSS Grid column placement
grid-column: span N, 1 / -1 full-row hero, positional start / end, span + auto-wrap. Real Grid layout on OS 9.
MacSurf 1.0 rendering home.macsurf.org
v1.0: Showcase
The new tool-belt toolbar, razor-sharp URL field, and matted icons rendering home.macsurf.org on a G3 iMac running OS 9.2.2. Native HTTPS via macTLS direct to the origin, server-rendered portal, true-colour images end to end.

The pieces

ComponentLanguagePurpose
browser/ C (C89, CW8) NetSurf fork with a macos9 frontend. Carbon for the UI, QuickDraw for drawing, Open Transport for networking, Duktape for JS.
proxy/ Go (stdlib only) The old TLS-stripping HTTP proxy. Largely retired now that macTLS works natively, but still useful as a fallback or on machines without CarbonLib. Mac sends plain HTTP, proxy fetches via HTTPS, returns plain HTTP.
macTLS
sibling repo
C (CW8) Native TLS 1.2 library for OS 9 — modern HTTPS straight from the Mac, no proxy required. BearSSL underneath, 121 trust anchors baked in.

What works today

Rendering pipeline

  • Full NetSurf fetch → parse → cascade → layout → plot
  • Native libcss with var() resolution
  • QuickDraw plotters with an offscreen GWorld back-buffer

CSS — around 150 properties consumed in layout

  • Custom properties and var()
  • Flex: justify-content, align-content, order
  • Grid V1 plus grid-template-columns/rows, gap
  • border-radius, box-shadow, opacity
  • Linear and radial gradients
  • text-shadow, text-overflow: ellipsis
  • transform (rotate, translate, scale)
  • z-index stacking contexts (CSS 2.1 painting order)
  • CSS counters, viewport units, aspect-ratio
  • Font-family aliases for sans, serif, monospace

Full CSS status →

JavaScript — Duktape 2.7.0, full ES5

  • Closures, prototypes, regex, JSON
  • Promises (polyfill), recursion, Mandelbrot
  • About 6 seconds for ackermann(3,7) on a 233 MHz G3

Images — all five formats

  • PNG with real per-pixel alpha (lodepng + CopyMask)
  • GIF with palette transparency
  • JPEG, BMP, TIFF

Networking

  • Open Transport TCP, plain non-InContext calls
  • HTTP/1.1 + chunked + keep-alive + 3xx follow
  • Connection pooling, 15-second no-progress timeout
  • HTTPS via macTLS (default) or the Go proxy (fallback)

Browser chrome

  • Address bar, back / forward / reload / home
  • Status bar, page-info, multi-window
  • Smooth scroll bar, keyboard scrolling

Download

Latest is MacSurf v1.4 — Open House (2026-06-01): JavaScript marathon closed. 23 JS-bridge issues went from open to closed in one release — setTimeout / setInterval / requestAnimationFrame, window.location, window.history, URL, URLSearchParams, classList, style, Event constructors, MutationObserver, DOMParser, FormData, localStorage, fetch, load / DOMContentLoaded events, plus <details> / <summary> toggle. The new probe suite scored JS 19/19 pass, 0 fail on a G3 iMac. Diagnostic pages live: about:cache, about:memory, about:config, about:perf all render real counters. View Source renders inline, Find-in-page opens a real Carbon dialog. Predecessor v1.3.1 "Forward, refined" shipped multi-curve TLS 1.3; v1.3 "Forward" was the first native TLS 1.3 on Classic Mac OS; v1.2 "Sealed" closed the entropy hole; v1.0 "Showcase" was the chrome-redesign release; v0.6.2 "Speed-Run" was the cold-load speedup (mactrove.com 30+s → ~2-3s); first numbered alpha at v0.1a1.

  • MacSurf.sit — the v1.4 binary, ready to run. Expand on Mac OS 9.1+ with CarbonLib 1.5+ and launch.
  • Building from source: clone the repo, then on the Mac side open browser/netsurf/frontends/macos9/MacSurf.mcp in CodeWarrior 8 and choose Build. v1.4 builders on a v1.3.1 workspace need to add one new source file to the project: browser/netsurf/desktop/search.c (provides browser_window_search for the new Find dialog; content/textsearch.c is already in). macTLS is unchanged from v1.3.1. v1.3 builders on a v1.2 workspace need to add four macTLS files for TLS 1.3: bearssl/src/ec/ec_c25519_m15.c, os9/ostls_tls13_keysched.c, os9/ostls_tls13_record.c, os9/ostls_tls13_handshake.c. v1.2 builders on a 1.0 workspace need desktop/download.c. The earliest release ships a BuildPack.sit snapshot with the CW8 project pre-wired, but current builds work straight from a fresh clone.

Earlier alpha notes if you want context: docs/release-notes/MacSurf-0.1a1.md.


Getting started

Building the browser

MacSurf is built on Mac OS 9 with CodeWarrior 8 Pro (8.3 update). The source is cross-compile-clean against Retro68 PowerPC GCC, which is what we use for fast Linux-side syntax checks.