Skip to content

๐ŸŽ‰ MerlionOS v100K โ€” 100,000 Lines of Rust

Choose a tag to compare

@lai3d lai3d released this 17 Mar 05:10
· 75 commits to main since this release

MerlionOS v100K โ€” 100,000 Lines of Rust

Born for AI. Built by AI. ๐Ÿฆ

Stats

  • 100,854 lines of Rust
  • 275 modules
  • ~400 shell commands
  • 4 CPU architectures: x86_64, aarch64 (Raspberry Pi), RISC-V, LoongArch (้พ™่Šฏ)
  • 0 compiler errors
  • UEFI boot on real hardware via Limine

Highlights

Networking (enterprise-grade)

HTTP/1.1 ยท HTTP/2 ยท HTTP/3 (QUIC) ยท gRPC ยท FTP ยท TFTP ยท SSH ยท SMTP ยท IMAP ยท MQTT ยท WebSocket ยท DNS ยท mDNS/DNS-SD ยท DHCP server ยท NTP ยท SOCKS5 ยท HTTP proxy ยท WireGuard VPN ยท PPPoE ยท iptables/NAT ยท VLAN 802.1Q ยท TCP (Fast Open, SACK, Window Scaling, Timestamps, Reno/Cubic/BBR congestion control) ยท IPv4 + IPv6 ยท OSPF ยท BGP ยท RIP routing

AI Platform

Neural network inference (INT32, no floats) ยท ML training (linear regression, decision tree, KNN) ยท Vector store with semantic search ยท AI workflow engine ยท Self-evolution (code analysis + patch generation)

Security

Capabilities (14 flags) ยท Seccomp syscall filtering ยท POSIX ACLs ยท AES-128 ยท RSA ยท X.509 ยท ChaCha20 CSPRNG ยท PBKDF2 ยท File permissions ยท sudo ยท Audit logging

Filesystems

VFS ยท FAT16 ยท ext2 ยท ext4 (extents, journaling, htree) ยท tmpfs ยท procfs (28 entries) ยท sysfs ยท diskfs

Shell & Tools

Vim editor (full modal: Normal/Insert/Visual/Command) ยท Bash/Zsh compatible shell ยท ss -tulnp ยท nc -zv ยท ip addr/route/link ยท iptables ยท systemctl ยท traceroute ยท sysctl ยท wg (WireGuard) ยท 400+ commands

Hardware

SMP ยท APIC ยท HPET ยท PCI ยท USB (xHCI) ยท Bluetooth (HCI/L2CAP) ยท e1000e NIC ยท virtio-blk/net ยท AHCI ยท NVMe ยท WiFi 802.11 ยท Intel HDA audio ยท GPIO (Raspberry Pi) ยท SD card

System

Preemptive multitasking ยท Per-process page tables ยท Signals ยท Process groups ยท Cgroups ยท Microkernel mode (optional) ยท Service manager (systemd-like) ยท Multi-user sessions ยท Real-time scheduling (EDF/Rate Monotonic) ยท Power management (P/C-states, thermal, battery)

Applications

Snake ยท Tetris ยท Text editor ยท Calculator ยท Painting ยท Matrix screensaver ยท Physics demo ยท Music sequencer ยท MIDI player

Languages

Forth ยท Lisp ยท WASM/WASI runtime ยท Shell scripting (if/for/while/function)

Build & Run

# x86_64 (BIOS)
make build && make run

# x86_64 (UEFI โ€” real hardware)
make iso

# Raspberry Pi (aarch64)
make pi && make run-pi

# RISC-V
make riscv && make run-riscv

# LoongArch (้พ™่Šฏ)
make loongarch && make run-loongarch

Links


Built entirely with AI agents (Claude) working in parallel. From zero to 100K lines in conversation sessions.

็”ŸไบŽAI๏ผŒๆˆไบŽAI ๐Ÿ‡ธ๐Ÿ‡ฌ