Live data from Hacker News

Show HN: MesaOS – An operating system written from scratch in Rust

github.com

1–10 of 14 posts

Show HN: MesaOS – An operating system written from scratch in Rust

#1
Hello! I'm a student from Spain and I'm the creator of MesaOS, an open-source operating system written from scratch in Rust for x86_64.

I've been working on it mostly by myself.

MesaOS currently has:

A hybrid kernel Preemptive multitasking A Linux driver shim with 400+ exported kernel symbols (still in development) HDA audio and WAV streaming A shell with around 82 commands VFS, RamFS and persistent initrd File persistence through automatic folder-to-ISO injection SMP / multicore support xHCI / USB 3.0 support

It works on QEMU and on my HP 15s-eq2xxx laptop.

Some of the things I'm currently working on are USB storage, TCP, Wi-Fi and more hardware support.

Wi-Fi is one of the harder problems for me right now. My laptop uses a Realtek RTL8822CE, and there isn't much information available about it.

The project is still very much a work in progress, but I've reached a point where I would like to have other people working on it with me. I'm especially interested in people who like operating systems, kernels, drivers, networking, Rust or low-level programming.

I'm also transparent about using AI during development. The source code is generated using language models based on my instructions. I handle the architecture design, debugging, hardware testing and integration myself.

There is also an English/Spanish Discord server for the project if anyone wants to discuss development or contribute.

Discord: https://discord.gg/sEaB7KAwtr

Show HN: MesaOS – An operating system written from scratch in Rust
github.com

Re: Show HN: MesaOS – An operating system written from scratch in Rust

#2
I have also developed a preemtive-multitasking O/S (and some programming languages to build this and apps) targeted for embedded soft cpu (not x86).

I build tools in Rust, too. I joined your discord but cannot comment anywhere yet (lack of permissions).

Do you use AI coding agents?

Re: Show HN: MesaOS – An operating system written from scratch in Rust

#3

I have also developed a preemtive-multitasking O/S (and some programming languages to build this and apps) targeted for embedded soft cpu (not x86). I build tools in Rust, too. I joined your discord but cannot comment anywhere yet (lack of permissions). Do you use AI coding agents?

Yes. But only for the coding. The rest is still done by me (hardware testing, QEMU, debugging, instructions, ideas, and so on).

Re: Show HN: MesaOS – An operating system written from scratch in Rust

#4

I have also developed a preemtive-multitasking O/S (and some programming languages to build this and apps) targeted for embedded soft cpu (not x86). I build tools in Rust, too. I joined your discord but cannot comment anywhere yet (lack of permissions). Do you use AI coding agents?

And by the way, I think I've fixed the Discord issue. Try testing it when you can.

Re: Show HN: MesaOS – An operating system written from scratch in Rust

#6

I have also developed a preemtive-multitasking O/S (and some programming languages to build this and apps) targeted for embedded soft cpu (not x86). I build tools in Rust, too. I joined your discord but cannot comment anywhere yet (lack of permissions). Do you use AI coding agents?

And by the way, I think I've fixed the Discord issue. Try testing it when you can.

yes, works now, thanks

Re: Show HN: MesaOS – An operating system written from scratch in Rust

#7

I have also developed a preemtive-multitasking O/S (and some programming languages to build this and apps) targeted for embedded soft cpu (not x86). I build tools in Rust, too. I joined your discord but cannot comment anywhere yet (lack of permissions). Do you use AI coding agents?

Yes. But only for the coding. The rest is still done by me (hardware testing, QEMU, debugging, instructions, ideas, and so on).

I have forked, cloned, and built (had to pin a specific nightly Rust for it to build). When I run it, it crashed at login; I reran it with VNC, was able to login as root, issue ls and uptime, but then it crashed. My AI is debugging...

Re: Show HN: MesaOS – An operating system written from scratch in Rust

#8

Earlier quoted context omitted.

Yes. But only for the coding. The rest is still done by me (hardware testing, QEMU, debugging, instructions, ideas, and so on).

I have forked, cloned, and built (had to pin a specific nightly Rust for it to build). When I run it, it crashed at login; I reran it with VNC, was able to login as root, issue ls and uptime, but then it crashed. My AI is debugging...

My AI wrote scripts to launch and attach. I was able to do a lot login in as root. One bug: when I run the ring3 demo, the shell stops accepting input.

Re: Show HN: MesaOS – An operating system written from scratch in Rust

#9

Earlier quoted context omitted.

Yes. But only for the coding. The rest is still done by me (hardware testing, QEMU, debugging, instructions, ideas, and so on).

I have forked, cloned, and built (had to pin a specific nightly Rust for it to build). When I run it, it crashed at login; I reran it with VNC, was able to login as root, issue ls and uptime, but then it crashed. My AI is debugging...

so the built-in nano helps a lot, since the help output scrolled off the screen. I tried to use head, less, and more. I could redirect help output to a file (but until I found nano, could not page that). I also looked for dd.

The VNC UI seems generally stable, I was able to log in as all three users, and issue many commands.

Is there a bundled assembler or compiler. How can I write apps for this? Do you have a way to cross-compile and mount a shared folder or scp binaries in?

Post reply on HN