hn.today

Show HN: Custom X64-86 Operating System Written from Scratch

github.com54 points42 comments
Screenshot of Show HN: Custom X64-86 Operating System Written from Scratch

BoltOS is a hobby operating system built largely from scratch in C and assembly, including its bootloaders, kernel, drivers, filesystem, networking, desktop, browser engine and development tools. It avoids GRUB, Linux and an external libc, while incorporating a small number of vendored libraries. The project has three editions: a desktop for x86-64 PCs and virtual machines, a TV-oriented interface for small x86-64 machines, and an AArch64 version for the Orange Pi Zero3. Its scope is unusually broad: the desktop includes more than 40 apps, a window manager, storage and networking support, and tools to write, compile, debug and package software on the system itself. It can load HTTPS sites using its own TCP/IP and TLS stack, and includes SSH, audio playback, a JavaScript-capable browser engine, and support for Windows console programs through a kernel shim.

The description emphasizes both practical features and efforts to verify correctness. BoltOS has BIOS and UEFI boot paths, preemptive multitasking, process isolation, multiple filesystems, and an installer that can make a disk bootable by either firmware type. Tests compare its MP3 decoding with mpg123, its assembler with NASM, and Mini’s H.264 output with FFmpeg; a fuzzer has also uncovered and helped fix 11 bugs. The TV edition offers media playback and ad-domain blocking, while Mini can run Firefox inside a Linux guest, execute Linux programs without a Linux kernel, and run a small language model locally. Important gaps remain: desktop Wi-Fi lacks a real hardware driver, and some hardware features, including battery readings and backlight control, are unsupported.

Read on github.com42 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Programming

Show HN: Rust Commander

Show HN: Rust Commander

Rust Commander is a Rust terminal file manager modeled on Midnight Commander, with dual-pane navigation, a persistent shell, archive and remote browsing, and background file operations. Version 0.3.1 adds file-change alerts, viewer copy controls, customizable skins, and faster SFTP previews and copying. (github.com)

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.