NOW LET US – AI RAG SaaS Studio TP.HCM
NOW LET US
Digital Product Studio
Back to news
DEV-TOOLS...1 min read

Show HN: Anos – a hand-written ~100KiB microkernel for x86-64 and RISC-V

Share
NOW LET US Article – Show HN: Anos – a hand-written ~100KiB microkernel for x86-64 and RISC-V

Anos is an ambitious hand-written microkernel project with a tiny footprint of ~100KiB, supporting preemptive multitasking on up to 16 CPUs. It features a modern 64-bit design, capability-based security, and cross-platform support for x86-64 and RISC-V architectures.

Note

This is not yet an operating system, but definitely has reached "toy kernel" status, since it now supports user mode preemptive multitasking on up to 16 CPUs, provides enough kernel support to run functioning device drivers in userspace, and runs on real hardware 🥳.

Anos is a modern, opinionated, non-POSIX operating system (just a hobby, won't be big and professional like GNU-Linux®) for x86_64 PCs and RISC-V machines.

Anos currently comprises the STAGE3 microkernel, SYSTEM user-mode supervisor, and a base set of servers implementing the base of the operating system. There is a (WIP) toolchain for Anos based on Binutils, GCC (16-experimental) and Newlib (with a custom libgloss).

Anos is free software licensed under the GPLv2, with similar linkage exceptions as other major free operating systems.

  • Non-zealous microkernel ("STAGE3") with scheduling, memory management, and IPC primitives
  • Strict system-wide capability-based security model
  • User-space system management server ("SYSTEM") provides common OS abstractions
  • User-space ACPI or Devicetree-based hardware discovery and driver model (WIP)
  • Custom software-development toolchain (based on binutils, GCC and Newlib)
  • Requirements (theoretical min/max): 1 core, 256MiB RAM / 16 cores, 127TiB RAM

As far as the Kernel is concerned, there's much to still be decided, and most of what has been decided could still change without notice. Since this is being designed as 64-bit from the beginning, there's a lot of things I can do that I wouldn't otherwise be able to, and I'm experimenting with a few different ideas.

Decisions taken so far include a non-zealous microkernel providing only bare-minimum drivers for hardware used in the kernel itself (CPU, Timers like HPET/TSC, Interrupts like LAPIC/MSI). It handles physical/virtual memory management, thread/process management, and synchronous zero-copy IPC.

The system uses a delegatable capability-based syscall control. Most user processes have very limited syscall capability and instead use fast IPC to request services from the user-mode supervisor. The supervisor itself is endowed with all capabilities and is responsible for delegating them appropriately to other processes.

Scheduling is currently handled by a simple prioritised round-robin scheduler. SMP is supported on x86_64 up to 16 cores, while RISC-V SMP is currently a work in progress. The project requires a custom toolchain based on GCC 16-experimental to build.

© 2026 Now Let Us. All rights reserved.

Source: Hacker News

Advertisement
Ad slot ready: 5887729102

More in this category

NOW LET US Related – Treating pancreatic tumours may have revealed cancer's master switch

dev-tools

Treating pancreatic tumours may have revealed cancer's master switch

A promising new drug called daraxonrasib has shown breakthrough results in treating pancreatic cancer, doubling median survival times. This achievement could pave the way for an entirely new class of cancer treatments.

NOW LET US Related – Leaving Mozilla

dev-tools

Leaving Mozilla

A poignant and candid reflection from a 15-year Mozilla veteran upon their departure. The author highlights the leadership's missteps in trying to emulate tech giants and urges Mozilla to return to its core values: community and uniqueness.

NOW LET US Related – Shepherd's Dog: A Game by the Most Dangerous AI Model

dev-tools

Shepherd's Dog: A Game by the Most Dangerous AI Model

A developer tested Anthropic's latest, supposedly 'too dangerous' AI model by asking it to build a long-held game idea in a single shot. The model succeeded, generating a complete 2,319-line game after a 45-minute reasoning session.

NOW LET US Related – Open source AI must win

dev-tools

Open source AI must win

If artificial intelligence becomes a utility rented only from a few closed institutions, humanity loses its operational freedom. Open-source AI is a vital infrastructure for the future of our digital society.

NOW LET US Related – Statement on US government directive to suspend access to Fable 5 and Mythos 5

dev-tools

Statement on US government directive to suspend access to Fable 5 and Mythos 5

The US government has issued an export control directive forcing Anthropic to suspend all access to its Fable 5 and Mythos 5 models due to national security concerns, a move the AI safety startup strongly disputes.

NOW LET US Related – Electric motors with no rare earths

dev-tools

Electric motors with no rare earths

Renault Group is pioneering the development of electrically excited synchronous motors (EESM) that eliminate the need for rare earth magnets, reducing dependency on global monopolies while driving efficiency and sustainability.

EXPLORE TOPICS

Discover All Categories

Deep dive into the specific technology sectors that matter most to you.