One Pool, Many Engines: The Architecture of Apple Silicon
Apple Silicon's defining choice is one shared memory pool for CPU, GPU, and Neural Engine. This diagram maps that fabric, the on-package bandwidth it buys, and the scaling limits it imposes.
Loading…
Topic
8 posts about macOS. Every summary links to the original.
See the idea
Apple Silicon's defining choice is one shared memory pool for CPU, GPU, and Neural Engine. This diagram maps that fabric, the on-package bandwidth it buys, and the scaling limits it imposes.
Buildkite splits CI into a hosted control plane and agents you run on your own machines. This comparison weighs that self-hosted agent model against fully hosted runners so you can pick the right fleet.
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
Newest first
Cognition gave Devin, its AI software engineer, the ability to build and test Apple apps by running macOS environments on Amazon EC2 Mac instances. Each Devin session gets a fresh macOS virtual machine in under a minute, using a fleet of EC2 Mac hosts across six AWS Regions. Disk snapshots preserve session state so idle VMs can be released and reclaimed in seconds, with about 90% of sessions resuming from a snapshot. A user-space Ethernet gateway enforces per-session network policies, and Devin interacts with apps through the accessibility tree and screenshots. Within six weeks of launch, nearly 1,000 organizations were running Devin on macOS, and Wispr reported a nearly 2x improvement in development velocity.
The author modified Transformers to stream MoE experts from disk, enabling a 180B-parameter Qwen model to run on a 32 GB MacBook M5 at ~14 tok/s. Existing engines like llama.cpp and vLLM either thrash the page cache or copy all experts on every token. The key innovation is a slot-pool cache: one preallocated device tensor shared across layers, with a per-layer mapping from expert ID to slot, so that grouped_mm runs on the pool as if it were a regular expert bank. Experts are quantized to 3 bits, read by 8 I/O threads, and prefetched by running the next two layers’ routers early. The implementation closes the gap with Strata to about 6% on short decode, with slightly faster prefill. The author notes that closing the remaining gap would require deeper changes in PyTorch’s MPS stream control.
Meta’s Reality Labs ported Cuttlefish, the Android Open Source Project’s virtual-device framework, to run natively on macOS with Apple silicon. Cuttlefish boots the same system images as real hardware, providing higher fidelity than lightweight emulators like Goldfish, but was previously Linux-only. The port revived QEMU as the virtual machine monitor, made vhost-user backends portable beyond Linux, and increased memory-region tracking slots in QEMU’s HVF backend. A native Cocoa display with BGRA pixel format and mouse-click-as-touch support was added for direct interaction. The unified platform eliminates the operational burden of maintaining dual emulator platforms and ensures developers run the same virtual devices used across CI.
Shopify’s AI agent River could handle web and backend tasks but was limited for mobile development because laptops maxed out with compilers and simulators. To solve this, Shopify built Remote Dev, a fleet of remote Macs that each provide a dedicated environment for River sessions. Agents connect over SSH, and Android emulation required a separate Linux VM with nested virtualization since macOS lacks support. A warm pool of prebuilt Macs reduces setup time from over 30 minutes to a few minutes, and agents can work in parallel on different tasks. River can now autonomously implement changes, build, test, interact with simulators, and create PRs, and it can generate explainer videos from recordings, with adoption growing from 6% to 61% of merged mobile pull requests.
PyTorch 2.15 brings FP8 support to MPS, storing float8_e4m3fn values in half the space of BF16 and enabling scaled matrix multiplication directly on the GPU with tensorwise or rowwise scaling. Language-model decoding accelerates significantly: mixture-of-experts models decode 5–6.5× faster thanks to a native grouped matmul with a dedicated decoding path—on an M3 Ultra with torch.compile, Qwen3.6-35B-A3B reaches 61.3 tokens/s, up from 9.4. Dense models benefit from specialized matrix-vector kernels for single-row linear layers, and softmax over the vocabulary is about 8× faster. Video generation memory usage drops dramatically: Wan2.2’s VAE decode now peaks at 8 GiB instead of 270 GiB. The Hugging Face team runs real models to find and fix MPS shortcomings. The release also adds complex LU and triangular solves, faster small-matrix inverses and QR decomposition, public MPS streams, and requires macOS 15 or later, with many operations moved from MPSGraph to dedicated Metal kernels.
Toolbox App 3.8 addresses IDE update handling on macOS and restores keyboard navigation in project and tool lists. On macOS, manual IDE updates remain available when the system incorrectly reports an installation directory as non-writable, with instructions shown if macOS blocks the update. On Windows, Ctrl+1 and Ctrl+2 switch between the Tools and Projects tabs, while the Up Arrow, Down Arrow, Page Up, Page Down, Home, and End keys navigate lists, including filtered results. Cleanup of leftover IDE directories now displays progress for each tool and the full operation, and disables delete controls until cleanup and rescanning finish, preventing duplicate cleanup starts.
On 27 November 2018, Eric Fung, a Senior Data Scientist, presented “How the Command Line Can Empower You,” a 45-minute talk followed by 15 minutes of questions and answers. The presentation addresses work that often happens outside an IDE, including interacting with APIs, creating screenshots, and massaging data, and shows how command-line tools can simplify, improve, or automate those tasks. Using real-world examples, Fung covers typing less in the terminal, searching files, manipulating images and JSON files, and generating code automatically without point-and-click interaction. The presentation focuses on software for macOS, while noting that Linux and Windows users can benefit because many mentioned tools are cross-platform; the presentation can be watched online and speaker notes can be downloaded.
Shopify needed a unified CI/CD system that could give iOS developers the same reliable, disposable build environments already used for Linux and Android projects. An earlier VMware ESXi setup used a shared storage area network, but its maintenance burden and write throughput limit created stability and scalability problems. The replacement uses Anka, a Docker-like macOS virtualization layer built on Apple’s Hypervisor.framework: one Core i7 Mac Mini runs one VM with local storage, while layered images are pushed to registries and pulled across two MacStadium data centers. Buildkite agents clone temporary snapshots, boot suspended VMs in under a second, run steps, upload artifacts, and delete the VMs afterward. Shopify reports about 350 iOS build jobs per hour for roughly 60 iOS developers, with easier Xcode and macOS upgrades, no shared-storage single point of failure, and horizontal scaling, although capacity remains manually adjusted and spiky demand can increase queue times.
The best engineering reads, once a week.