logo
Kurashizu Blogwhere ideas flow
  • Home
  • News
  • Blog
  • About
  • Home
  • News
  • Blog
  • About

© 2026 Kurashizu. All rights reserved.

Admin·New Post·Service Status
Powered by Cloudflare·30.10.26
← Back to news

Vinix – A modern operating system written in V

Original article
vinix-os.org|40 points|27 comments|by hggh|Sep 17, 2026

Vinix: A Contemporary OS Crafted in V

Vinix represents a modern approach to operating system design, developed entirely using the V programming language. It is engineered for extreme efficiency, boasting a boot-time RAM footprint of roughly 100 MB100\text{ MB}100 MB and requiring only ≈1 GB\approx 1\text{ GB}≈1 GB of disk space post-installation. While it provides official support for Apple Silicon, it is designed to be lean and fast.

⚠️ Warning: Vinix is currently under active development. It is not yet suitable for production environments or as a primary daily driver.


🚀 Getting Started

To experience Vinix, you can run it via QEMU. On Apple Silicon Macs, QEMU leverages macOS hardware virtualization to power the ARM64 desktop environment.

Installation Steps

  1. Install the necessary build prerequisites.
  2. Use the launcher to compile and boot the desktop.

For Apple Silicon (ARM64):

brew install qemu
git clone https://github.com/vlang/vinix
cd vinix
./run-desktop-aarch64.sh

For other architectures (x86_64):

git clone https://github.com/vlang/vinix
cd vinix
./run-desktop-amd64.sh

🛠️ Ecosystem & Compatibility

Vinix is a Linux distribution not a Linux distribution, yet it maintains incredible compatibility with the Linux ecosystem.

Supported Software Stack

The following toolchains and applications are functional on Vinix:

CategorySupported Tools / Applications
LanguagesClang/LLVM, GCC/G++, Go, Rust, Java, Node.js/npm, Python 3, Ruby 3, V
InfrastructureCodex CLI, Claude, Git, OpenSSH, curl, nginx, GNU Make, CMake, Meson, GDB, radare2, strace, SQLite, Bash, BusyBox, pkg/APK/XBPS
Desktop AppsFirefox ESR, Chromium, Blender, GIMP, Wine, Minecraft, Minetest, Gnumeric, GTK 3, X.org, Wayland, Hyprland, Mesa/OpenGL, Nano, Vim, tmux, Sublime Text

Vinix Desktop on M1 MacBook Air Caption: Vinix in action on an M1 MacBook Air.

Note: Because of Wine and Alpine binary support, you can even run x64 Windows applications (like MS Office) on ARM64 hardware.


⚙️ Technical Architecture

Performance & Resource Management

Vinix is designed to be invisible in terms of overhead. It avoids the "sawtooth" memory pattern common in managed languages.

  • Memory Management: Built with -gc none. By utilizing manual memory management, Vinix ensures that no garbage collection pass ever interrupts a system call, an interrupt handler, or the window compositor.
  • Lean Core: No systemd, no background indexing services, and absolutely no telemetry.
  • Direct Rendering: The desktop bypasses traditional display servers, drawing directly to the framebuffer and compositing its own windows.

Resource Footprint:

  • Boot RAM: 100 MB100\text{ MB}100 MB
  • Disk Space: 1 GB1\text{ GB}1 GB
  • Boot Time: A matter of seconds.

Optional Sandboxing

Vinix implements an optional, per-app sandboxing mechanism similar to iOS.

When enabled, a program is confined to its own directory. It cannot see your SSH keys or personal documents, ensuring that a compromised dependency cannot leak your private data. If run without the sandbox, it behaves as a standard Unix process.

The "Linux Compatibility" Secret

Vinix achieves compatibility with Alpine Linux binaries by implementing the Linux system call interface directly.

There is no VM, no container, and no emulation. The binary runs on the bare CPU, and calls like openat or mmap are handled natively by the Vinix kernel. This allows users to simply run pkg install chromium and have it work immediately.


🍏 Apple Silicon Integration

Hardware acceleration on Mac is challenging because Apple provides no public GPU documentation. Vinix is solving this by writing custom drivers.

The GPU Stack

To achieve hardware acceleration, Vinix is developing two critical drivers:

  1. AGX: The GPU driver.
  2. DCP: The Display Controller (manages the screen).

These communicate via Apple's mailbox and RTKit interfaces, with the DART IOMMU isolating GPU memory from the kernel. This is topped with a minimal DRM subsystem using GEM buffer objects, allowing Mesa and OpenGL to provide real acceleration.

Roadmap for Apple Silicon:

  • M1 Support
  • M3 Support
  • M4 Support
  • M5 Support

🎯 The Vinix Philosophy

Vinix is built around four core pillars:

  • Efficient Space: No wasted pixels, rounded corners, or unnecessary padding.
  • Consistency: A unified approach—one UI, one package manager, one init system, and one binary format.
  • Flexibility: The system is designed to be customized to the user's specific needs.
  • Minimalism: Extremely low resource requirements (RAM≈100 MB\text{RAM} \approx 100\text{ MB}RAM≈100 MB).

By officially supporting Apple Silicon Macs, Vinix aims to give older hardware a second life with a fast, modern, and fully supported operating system.