home.social

#hobbyproject — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #hobbyproject, aggregated by home.social.

  1. Show HN: Custom X64-86 Operating System Written from Scratch github.com · 13 points · 9 comments · HN thread

    TL;DR BoltOS is a hobby operating system written from scratch in C and assembly, by a single author who posted it as Show HN. It has its own BIOS/UEFI bootloaders, kernel, drivers, filesystem, TLS/SSH networking, desktop, browser engine and compilers, in three editions: Desktop (x86-64), TV, and Mini for the Orange Pi Zero3 (AArch64). The author asks for support and feature suggestions, and says about 10% of the ~170K lines is AI-assisted.

    • Roughly 170,000 lines of C and assembly, excluding vendored code; started July 2026 per the project's timeline.
    • Own boot chain (512-byte MBR and UEFI loader), higher-half kernel, SMP, ACPI, preemptive scheduler, and BoltFS with a mirrored superblock for power-cut safety.
    • Networking includes many NIC drivers, IPv4/IPv6, TCP/UDP, DNS, TLS 1.2/1.3 with certificate chain checks, an SSH server and client, and a simulated 802.11 client (no real Wi-Fi driver yet).
    • Desktop has a compositing window manager and over 40 apps, plus a bytecode-based C compiler, a source-level debugger, an assembler checked against NASM, and a package manager.
    • Mini edition runs Firefox in a Linux guest on its own small hypervisor and can run a local language model on the Pi.
    • Listed gaps include no real Wi-Fi hardware driver, no AML interpreter (no battery readings), no hot-plug USB, Latin-1 text only, and BoltOS cannot yet build itself.

    Discussion The thread is short and mostly friendly: commenters praise the project and the author responds politely to suggestions. One commenter proposes Plan 9-style per-process namespaces with bind, mount and rfork-like syscalls, and another offers to try their own hobby C compiler on the tree. The mood turns skeptical when a commenter disputes the author's claim that only about 10% of the code is AI-assisted, citing commit frequency and volume.

    • Impressive work; encouraging for a hobby OS (many): Commenters praise the scope and ambition of building a full OS from scratch. Interest is mostly in the project's breadth rather than specific technical details.
    • Suggests Plan 9-style per-process namespaces (some): One commenter asks for per-process namespaces that mount network, framebuffer and remote resources into private file trees via syscalls like bind, mount and rfork. They pointed to cat-v.org for Plan 9 papers and man pages.
    • Doubts the 10% AI-assistance claim (some): A commenter argues that commit frequency and the volume of pushed code suggest the AI share is much higher than stated, about tenfold. This is the main point of disagreement in the thread.
    • Willing to test with other compilers (a few): A commenter offered to run their own hobby x86-64 C compiler against the source tree to see what breaks, and shared a link to it. The author said they would like to inspect it.

    Links from the comments

    #operatingSystems #showHN #osDev #bootloaders #hobbyProject #AIassisted

Share on Mastodon

Enter the server where you have an account.