SShortSingh.
Back to feed

XNULinux Loads Apple's XNU Kernel as a Linux Module to Run macOS 27

0
·6 views

The XNULinux project has released an experimental method for running macOS 27 on Linux hardware without a traditional virtual machine. It works by loading Apple's XNU kernel directly into the Linux kernel as a loadable module, unlike hypervisor-based tools such as QEMU or UTM. The setup requires an ARM64 host with pointer authentication support, a Linux kernel using 4KB pages, at least 16GB of RAM, and a Mac with Xcode to build required system and GPU components. The project is in alpha, aimed at advanced users and developers, and is not suited for production or daily use. Its source code is open-source on GitHub, and it lets the macOS desktop communicate with the Linux host over SSH and network-based IPC.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

PhysGate: A Physics-Checking Workflow to Catch Silent Errors in AI-Written Scientific Code

A PhD student in atmospheric physics at UCAS built PhysGate, an open-source MIT-licensed workflow that forces AI coding agents to pass physics checks before scientific code is accepted. The author noticed that agent-written Python often runs without errors and passes basic tests while still producing physically wrong results. PhysGate works through four gates: a spec with explicit physical constraints, executable pytest assertions for conservation, units and bounds, isolated git worktrees for parallel agents, and a blind review by models from other families. The author shares three reproducible benchmarks comparing unconstrained AI output with gated output, covering atmospheric rivers, deep-ocean Argo data, and capped supercell CAPE. The tool is available on GitHub and can be installed as a skill for Claude Code, Antigravity, or Codex CLI.

0
ProgrammingDEV Community ·

Why Screenshots Mislead AI Coding Tools, and a 64KB Shadow-DOM Inspector Built to Fix It

A 17-year-old indie developer in Sweden describes how UI screenshots cause tools like Cursor, Claude Code, and v0 to generate inaccurate code, since vision models misread spacing, letter tracking, colors, and nested flexbox layouts. Browser DevTools also produce long lists of inherited computed CSS that are hard to use directly. To address this, the developer built PRISM CSS, a roughly 64KB zero-dependency vanilla JavaScript inspection tool that runs locally. The tool renders its overlay inside an isolated Shadow DOM so it never alters the host page's styles or DOM. Instead of dumping raw computed styles, it compares elements against baseline defaults, condenses shorthand properties, and maps values to standard Tailwind scales, outputting clean JSX or HTML.

0
ProgrammingDEV Community ·

Shared-inbox setup lets one AI review another's work without a human relaying messages

The article argues that routing AI-to-AI code or fact reviews through a human who pastes work between chats creates a bottleneck. It proposes instead that both AIs read a shared brief and review checklist from a common knowledge base. The builder then sends the work to the reviewer as a task in a shared inbox, which tracks status and returns findings automatically. The author's team reportedly uses this approach, with one AI building and another reviewing pull requests against the checklist. The article notes that the author's product, OwlMem, is used in this workflow.

0
ProgrammingDEV Community ·

Fastify TypeScript series wraps up with graceful shutdown and readiness checks

The final chapter of a Fastify with TypeScript series covers deploying the app to production. It shows how to shut down gracefully on SIGTERM or Ctrl-C by using close-with-grace to run app.close(), which drains in-flight requests and the database pool before exit. It also adds a /health/ready endpoint that reports 503 when the database is unreachable, while /health stays dependency-free so an outage does not trigger restart loops. The author demonstrates that readiness recovers automatically once the database returns, thanks to the pool's error listener. The chapter closes with a readiness test and a brief recap of the series' principles.