A modern x86 kernel built from the ground up in C.
Supporting UEFI and legacy BIOS with a full system stack.
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.
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.
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.
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.
Guides and references in English, 简体中文, and 日本語.