v0.1.2.6

BrightS

A modern x86 kernel built from the ground up in C.
Supporting UEFI and legacy BIOS with a full system stack.

View on GitHub Build Guide
SCROLL
Architecture

Two platforms,
one kernel.

BrightS runs on both x86_64 UEFI and i386 BIOS systems, sharing the same core codebase. No forks, no separate branches — just a single kernel that adapts.

Built with clang + LLD for UEFI targets and i686-linux-gnu-gcc for legacy BIOS.

x86_64
UEFI · 4-level paging
+
i386
BIOS · PAE paging
O(1)
Scheduler
8 MB
Slab heap
10
Tick preemption
Performance

Engineered
for speed.

An O(1) round‑robin scheduler with 10‑tick preemption keeps processes responsive. The slab allocator manages an 8 MB heap with minimal fragmentation.

SIMD‑optimized memcpy/memset and multi‑layer LRU caches front every I/O path.

Link‑time optimization (LTO) produces leaner, faster binaries.

Networking

Real protocols,
real networking.

A complete TCP/IP stack with VirtIO‑Net drivers. DHCP performs a full DISCOVER → OFFER → REQUEST → ACK handshake over UDP.

The DNS resolver builds raw‑byte queries, handles name compression, and parses A‑record responses. The HTTP client resolves DNS, opens TCP connections, and sends GET/POST — all from kernel space.

The netget command fetches URLs directly from the shell.

DHCPDNSHTTP VirtIO-NetUDPTCP ARPFTP
C
Kernel & runtime
C++
Inline runtime
Rust
Kspace modules
Python
Embedded
Developer

Multi‑language
by design.

First‑class runtime support for C, C++, Rust, Python, and Lang. Write kernel modules in Rust, script sessions in Python, compile C++ with the built‑in g++ command.

LightShell — history, tab completion, pipes, redirection, job control, environment variables.

File systems: RAMFS, DevFS, Btrfs — unified VFS2 interface.

Documentation

Guides and references in English, 简体中文, and 日本語.

📖

User Guide

Getting started, commands, usage.

🛠️

Developer Guide

Setup, structure, contributing.

⚙️

API Reference

Kernel API and syscalls.

🧩

Runtime

C, C++, Rust, Python, Lang.

💾

Installation

Build for UEFI & BIOS.

📋

Changelog

Release history.

🚀

Roadmap

Planned features.

📊

Progress

Milestones tracker.