← Fri, Nov 6 digest

MoofTCP – A modern replacement for MacTCP on 68k Macs

read article ↗ hn thread ↗

MoofTCP is a memory-lean replacement TCP/IP stack for 68k Macs running System 6, offering drop-in compatibility with legacy MacTCP software.

summary is enough Skim the README for core architecture details and requirements, but read the comment thread for valuable author-provided benchmark comparisons against MacTCP.

summary

MoofTCP is a fresh TCP/IP stack written in portable C to replace Apple aging MacTCP on 68k systems running System 6. Designed for resource-constrained environments like a 4MB Mac Classic, the core avoids dynamic memory allocation and global state to maintain a tiny footprint while including a basic DHCP client. The package ensures drop-in compatibility for vintage applications like telnet clients and web readers using modern hardware interfaces like BlueSCSI.

key points

  1. Built in portable C with a zero-allocation, no-global-state core designed to prevent memory leaks on 4MB RAM vintage systems.
  2. Implements the MacTCP .IPP driver interface natively, enabling legacy utilities like Fetch and NCSA Telnet to run without modification.
  3. Author benchmarks demonstrate slightly lower interactive keystroke latency and a larger advertised TCP window compared to original MacTCP 2.1.

who should read it

Retrocomputing enthusiasts and systems programmers interested in vintage Macintosh development.

discussion warm

consensus

Community members express strong enthusiasm for active vintage Mac development alongside discussions on using AI assistants for systems-level coding. Developer benchmarks shared in the thread provide concrete performance comparisons against original software.

pushback

A few participants question whether AI-assisted code generation detracts from the traditional craftsmanship of low-level programming.

best comment by marcusbasant ↗

(I am the author - posting from an alt here)

It's pretty tedious to compare - Have to run diags, take screenshots, set up watchers on a modern machine, run comparisons on the classic mac hardware, and then transfer those back from the mac to the modern machine (I haven't set up a network share solution for the mac yet, so each transfer is power down and transfer via SD card), run thru agent for validation and feedback, and repeat for each iteration.

I went thru a few rounds of this (about 4 release candidates) before i decided that what I had was Good Enough and published it. I have noticed …

The project creator shares hard benchmark numbers comparing MoofTCP and MacTCP 2.1 across latency, throughput, and window size.

Generated by an LLM from the article and thread. Check the sources before relying on it.