MoofTCP – A modern replacement for MacTCP on 68k Macs
MoofTCP is a drop-in replacement for Apple’s MacTCP networking software on System 6 and 68000-based Macs. The open-source project is hosted on GitHub under the MIT license. (github.com)
Benchfmt.rs is a Rust benchmarking tool designed to bring Go’s familiar bench and benchstat workflow to Rust. It provides a zero-dependency runner with Go-compatible benchmark output, `/key=value` dimensions for comparing cases, allocation reporting in bytes and objects per operation, and pprof profiling support. Developers using existing Rust tools can also convert Criterion and libtest results into the same format. The goal is to make repeated A/B comparisons and cross-language performance tests easier, with outputs that benchstat can analyze consistently.
The demonstrations implement two decoders in Go and Rust: a varint decoder that processes 2,000 values without allocating, and a Snappy-compressed Prometheus Remote Write 2.0 decoder tested on batches of 200 and 2,000 series. The comparison uses repeated timed runs on the same Linux workstation; Go uses optimized generated protobuf decoding, while Rust uses prost and snap. Criterion can run the Rust tests, but requires care with optimization barriers and does not natively provide the same allocation and profiling workflow. The benchmarks show Rust ahead in the tested workloads, while profiling helps identify where decoding time and memory use arise rather than treating a single timing as an explanation. The broader lesson is that trustworthy comparisons require matching workloads, repeated measurements, allocation data, and tools for investigating overhead.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.
MoofTCP is a drop-in replacement for Apple’s MacTCP networking software on System 6 and 68000-based Macs. The open-source project is hosted on GitHub under the MIT license. (github.com)
Declarative Dragging lets developers define which application states a draggable element can reach, then automatically generates drop zones and animations. The Dragology library implements this model-driven, composable approach for SVG web interfaces, reducing the effort needed to build rich drag-and-drop interactions. (declarative-dragging.github.io)
A gym member reverse-engineered the gym’s Flutter app to isolate its changing check-in QR code from an unwanted social feed. They found the app could generate valid codes offline and used code-inspection tools and AI assistants to investigate how it worked. (shayon.work)
Window Sweaters is a macOS menu-bar app that adds knitted borders to desktop windows. The open-source project is built for desktop customization and window management. (github.com)
FastBCP 1.6 exports SQL Server tables directly from .bak backups to Parquet without restoring them or running SQL Server. On a 320 GB backup, it exported a 175-million-row table in 29.6 seconds using 24 threads. (blog.arpe.io)
A smarter output buffer can display complete lines promptly while batching writes for much better performance than traditional line buffering. This avoids slow per-line output in tools such as archive extractors without hiding their progress. (nullprogram.com)
Today's best Hacker News stories, summarized and screenshotted, one email a day.