| Category | Features |
|---|---|
| Boot | UEFI boot, x86_64 architecture |
| Memory | Virtual memory management, Slab allocator (8MB heap) |
| Process | Round-robin scheduling, Time-slice preemption (10 tick quantum) |
| Filesystem | VFS2 abstraction, RAMFS, DevFS, Btrfs support |
| Network | TCP/IP stack, VirtIO-Net |
| Storage | AHCI, NVMe, block device interface |
| Shell | Built-in shell with pipes, redirection, history, tab completion |
| Multi-lang | Rust, Python, C++ runtime support |
# Build kernel
mkdir build && cd build
cmake ..
make -j$(nproc)
# Run in QEMU
make run| Language | Links |
|---|---|
| 🇺🇸 English | docs/README.md |
| 🇨🇳 简体中文 | docs/README_zh_CN.md |
| 🇯🇵 日本語 | docs/README_ja.md |
| User Guide | Developer Guide |
|---|---|
| Commands (EN) | Development (EN) |
| 命令参考 (中) | 开发指南 (中) |
| コマンド (日) | 開発ガイド (日) |
| Component | Optimization |
|---|---|
| kmalloc | Slab allocator with 10 size classes, 8MB heap |
| sched | O(1) runqueue with __builtin_ctzll, 10-tick quantum |
| runtime | ERMS for ≥256B, 64-byte cache-line copy, SSE2 memset |
| proc | O(1) PID allocation via bitmap, inline helpers |
BrightS/
├── kernel/ # Core kernel
│ ├── arch/ # Architecture (x86_64)
│ ├── fs/ # Filesystems (VFS2, RAMFS, DevFS, Btrfs)
│ ├── net/ # Network stack
│ ├── kmalloc.c # Memory allocator
│ ├── sched.c # Process scheduler
│ └── proc.c # Process management
├── drivers/ # Device drivers
├── docs/ # Documentation
└── scripts/ # Build scripts
BrightS v0.1.2.2 · GPL v2 License