frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Aurion OS – A 32-bit GUI operating system written from scratch in C

https://github.com/Luka12-dev/AurionOS
32•Luka12-dev•2h ago
Hi HN! I'm 13 and I built Aurion OS as a solo learning project over 14 days (~12 hours/day).

It's a 32-bit x86 operating system written entirely in C and x86 Assembly with no external libraries.

What it has: Custom bootloader and kernel VESA framebuffer graphics (1920x1080, double-buffered) Window manager with draggable, overlapping windows macOS-inspired dock with transparency PS/2 keyboard and mouse drivers ATA hard drive driver with filesystem PCI bus enumeration RTL8139 network driver (WIP) Real-time clock Runs on just 16MB RAM (up to 10 windows simultaneously)

Built-in apps: Terminal (with DOS mode), Notepad (save/load), Calculator, Paint (multiple colors and brush sizes), Snake game, Settings (theme switching), and System Info.

Currently works best on QEMU, VirtualBox, and VMware. Real hardware support is still a work in progress.

Next goal: TCP/IP networking stack.

I'd love any feedback, suggestions, or criticism. This is my first OS project and I learned mass amounts while building it. Happy to answer any technical questions!

Comments

Luka12-dev•1h ago
Author here! Happy to answer any questions about the implementation.
cyberax•1h ago
How much was built with the AI? An OS is definitely a fun project and the classic x86 is a pretty good platform for that!
Luka12-dev•56m ago
I wrote the core architecture and most of the code myself. I used Claude occasionally to help debug tricky issues and understand some concepts, but the design decisions and implementation are mine.

I think AI is a great learning tool when you're trying to understand low-level concepts for the first time.

gmueckl•1h ago
How did you decide between assembler and C for various parts of the kernel? Some choices are very different from what I would have picked, so I'm curious about your thought process.
Luka12-dev•57m ago
My general rule was:

Assembly for anything that HAS to be assembly: bootloader, GDT/IDT setup, interrupt handlers, context switching, and port I/O wrappers.

C for everything else: window manager, apps, drivers, GUI rendering.

Some parts I probably could have done in C with inline assembly but I found writing pure ASM for the low-level stuff helped me understand exactly what was happening at the hardware level.

What choices looked different to you? I'd love to hear your perspective always looking to improve!

marssaxman•1h ago
That's an ambitious project!

What was your inspiration for the filesystem?

Luka12-dev•58m ago
Thanks!

The filesystem is currently pretty simple - a basic flat structure on the ATA drive. I was inspired by FAT-style simplicity since I needed something working quickly for the Notepad save/load feature.

Planning to implement something more robust, as the project grows.

What would you recommend for a hobby OS filesystem?

toast0•1h ago
> RTL8139 network driver (WIP)

It's good to have support for real networking hardware, but consider virtio-net as well. A lot of VMs support it and it's more streamlined. 32-bit x86, bios boot means doing a lot of things for compatibility with systems that were old enough to drink before you were born... skipping to simplified virtualized interfaces wherever possible makes a lot of sense; even if your OS can run in 16 MB of ram, you're probably not going to run it on a 486 with 16 MB of RAM and a real parallel IDE drive ... at least not at first. You can always come back and make that work if you want... deferring tricky things until later so you can work on the fun stuff keeps you having fun and engaged with your project.

Also, consider trying to get your OS running on v86. It's fun having your hobby OS work in a browser. The biggest limitations I've run into are 32-bit x86 only, single processor only; but those might not be that big of a deal... looks like your OS is also 32-bit x86 only, and I don't see anything about SMP in your project. If there's anything missing from v86 that you depend on, I've had a wonderful experience with submitting PRs; copy often reworks my patches to be much better before applying them, which I always appreciate rather than a back and forth attempt to get me to make it better :) I've also seen copy (and others) take reported issues and fix them, if you've got a problem that you can't write a patch to resolve.

> Real hardware support is still a work in progress.

I ran into a fair amount of issues with 16-bit code; qemu doesn't check segmentation limits but real hardware does. Real hardware would crash, but it worked fine in qemu. My kernel is multiboot and I use 3rd party bootloaders, but I do SMP, on x86, that involves starting the Application Processors in 16-bit real mode and then moving them into 32-bit modes, but you have to do the segmentation dance correctly until you get there; doesn't help when qemu just lets you do whatever. :P

PS 12 hour days are a lot; hope you're getting all your other stuff done :P

Luka12-dev•59m ago
Great suggestions, thank you!

virtio-net makes a lot of sense for VM testing - I'll look into implementing that alongside the RTL8139 driver.

v86 is a really cool idea, having Aurion OS run in a browser would be amazing for demos. I'll definitely explore that.

And yeah, the 12 hour days were intense but honestly I was having so much fun I barely noticed haha. School still gets done though :)

sourcegrift•1h ago
No offense, and God forbid I sound like a "fanboy" but I'd highly recommend using Rust or Zig instead of c for the rest of your project. I appreciate C and assembly and am pretty "conservative" in my choices of PL but both rust and zig, despite having their own disadvantages, and also a slightly unpleasant community based on where you come from, are actually plain better than C in every respect. The abstractions are 0 cost and often pretty "transparent" so you know exactly what's happening behind the scenes.
Luka12-dev•55m ago
Thanks for the suggestion! I've heard great things about both Rust and Zig for systems programming.

I started with C because most osdev resources and tutorials use C, and I wanted to understand manual memory management at the lowest level first.

Might explore rewriting parts in Rust or Zig in the future, the safety guarantees do sound appealing for kernel code!

apitman•46m ago
I disagree. Rust and Zig bring millions of lines of code of dependencies and complexity in their toolchains. We can hope for a relatively simple Zig compiler someday, but probably not Rust. If you care about portability (now and in the future), C is a much better choice.
joexbayer•1h ago
Very cool! Would suggest https://oshub.org/explore if youre interested in hobby operating systems.
Luka12-dev•1h ago
Thanks! I'll definitely check out oshub.org, looks like a great resource.
jackpeterfletch•48m ago
AI Account.

Everything in that account has appeared in the last 6mo. Very unnatural commit activity, and clearly contradicts the claim that this is their first OS project. Is linked to a faceless YT channel.

Luka12-dev•43m ago
Fair question! I understand the skepticism.

The account is newer because I only recently started putting my projects on GitHub. I've been programming in C and Assembly for a while before that, just locally on my machine.

The commit activity might look unusual because I worked in very intense 12h/day sprints over 14 days.

As for AI, I'm happy to do a live walkthrough of any part of the codebase, explain the design decisions, or answer any specific technical questions about the implementation.

I appreciate the scrutiny though it keeps the community honest!

d--b•47m ago
https://github.com/Luka12-dev

sigh

qingcharles•12m ago
What's the point of your comment?

An old photo of a large BBS

https://rachelbythebay.com/w/2022/01/26/swcbbs/
60•xbryanx•56m ago•27 comments

Malus – Clean Room as a Service

https://malus.sh
813•microflash•6h ago•319 comments

Bubble Sorted Amen Break

https://parametricavocado.itch.io/amen-sorting
164•eieio•3h ago•59 comments

Reversing memory loss via gut-brain communication

https://med.stanford.edu/news/all-news/2026/03/gut-brain-cognitive-decline.html
122•mustaphah•3h ago•32 comments

ATMs didn't kill bank teller jobs, but the iPhone did

https://davidoks.blog/p/why-the-atm-didnt-kill-bank-teller
216•colinprince•5h ago•268 comments

The Met Releases High-Def 3D Scans of 140 Famous Art Objects

https://www.openculture.com/2026/03/the-met-releases-high-definition-3d-scans-of-140-famous-art-o...
144•coloneltcb•4h ago•31 comments

White House plan to break up iconic U.S. climate lab moves forward

https://www.science.org/content/article/white-house-plan-break-iconic-u-s-climate-lab-moves-forward
109•robtherobber•1h ago•65 comments

Launch HN: IonRouter (YC W26) – High-throughput, low-cost inference

https://ionrouter.io
22•vshah1016•1h ago•7 comments

Show HN: OneCLI – Vault for AI Agents in Rust

https://github.com/onecli/onecli
83•guyb3•3h ago•31 comments

NaN Is Weird

https://brassnet.biz/blog/nan-is-weird.html
20•freediver•4d ago•14 comments

Show HN: Understudy – Teach a desktop agent by demonstrating a task once

https://github.com/understudy-ai/understudy
49•bayes-song•3h ago•12 comments

US banks' exposure to private credit hits $300B (2025)

https://alternativecreditinvestor.com/2025/10/22/us-banks-exposure-to-private-credit-hits-300bn/
210•JumpCrisscross•7h ago•141 comments

Converge (YC S23) Is Hiring a Founding Platform Engineer (NYC, Onsite)

https://www.runconverge.com/careers/founding-platform-engineer
1•thomashlvt•3h ago

WolfIP: Lightweight TCP/IP stack with no dynamic memory allocations

https://github.com/wolfssl/wolfip
56•789c789c789c•4h ago•5 comments

Dolphin Progress Release 2603

https://dolphin-emu.org/blog/2026/03/12/dolphin-progress-report-release-2603/
259•BitPirate•11h ago•41 comments

Show HN: Axe – A 12MB binary that replaces your AI framework

https://github.com/jrswab/axe
96•jrswab•6h ago•69 comments

Bringing Chrome to ARM64 Linux Devices

https://blog.chromium.org/2026/03/bringing-chrome-to-arm64-linux-devices.html
3•ingve•24m ago•1 comments

Asia rolls out 4-day weeks, WFH to solve fuel crisis caused by Iran war

https://fortune.com/2026/03/11/iran-war-fuel-crisis-asia-work-from-home-closed-schools-price-caps/
344•speckx•5h ago•265 comments

The Emotional Labor Behind AI Intimacy (2025) [pdf]

https://data-workers.org/wp-content/uploads/2025/12/The-Emotional-Labor-Behind-AI-Intimacy-1.pdf
40•beepbooptheory•4h ago•12 comments

The Cost of Indirection in Rust

https://blog.sebastiansastre.co/posts/cost-of-indirection-in-rust/
61•sebastianconcpt•3d ago•29 comments

Show HN: Rudel – Claude Code Session Analytics

https://github.com/obsessiondb/rudel
116•keks0r•6h ago•72 comments

Kotlin creator's new language: talk to LLMs in specs, not English

https://codespeak.dev/
243•souvlakee•6h ago•206 comments

DDR4 Sdram – Initialization, Training and Calibration

https://www.systemverilog.io/design/ddr4-initialization-and-calibration/
34•todsacerdoti•2d ago•4 comments

Full Spectrum and Infrared Photography

https://timstr.website/blog/fullspectrumphotography.html
31•alter_igel•4d ago•11 comments

Italian prosecutors seek trial for Amazon, 4 execs in alleged $1.4B tax evasion

https://www.reuters.com/world/italian-prosecutors-seek-trial-amazon-four-execs-over-alleged-14-bl...
190•amarcheschi•5h ago•54 comments

Runners Are Discovering It's Surprisingly Easy to Churn Butter on Their Runs

https://www.runnersworld.com/news/a70683169/how-to-make-butter-while-running/
6•randycupertino•1h ago•0 comments

The Biggest Identity Sandpiles and How to Compute Them

https://eavan.blog/posts/big-identity-sandpiles.html
16•eavan0•4d ago•6 comments

Contextual commits – An open standard for capturing the why in Git history

https://vidimitrov.substack.com/p/contextual-commits-an-open-standard
22•vidimitrov•3h ago•23 comments

Apple's MacBook Neo makes repairs easier and cheaper than other MacBooks

https://arstechnica.com/gadgets/2026/03/more-modular-design-makes-macbook-neo-easier-to-fix-than-...
126•GeekyBear•3h ago•60 comments

Long Overlooked as Crucial to Life, Fungi Start to Get Their Due

https://e360.yale.edu/features/fungi-kingdom
56•speckx•7h ago•13 comments