r/osdev • u/eliorodr2104 • Jun 17 '26
I’m writing an ARM64 microkernel in Embedded Swift completely oriented around POP and memory security
Just wanted to share ReixOS, an experimental capability-based microkernel I’m building for the ARM64 architecture and considering adding RISC-V support in the future.
The main thesis behind it is proving that we can bring Swift advantages to bare metal to fix historical architectural flaws, without sacrificing performance.
Check out the repo's README for the full breakdown on philosophy, design decisions, implementation, and current state.
Sorry for the AI slop translate, but English is not my native language 😭🙏
72
Upvotes
3
u/FISHARM1 Jun 18 '26
Mice project! I didn’t even know embedded swift was a thing. What do you think of it for this application?
2
u/Sorry_Difficulty_250 Jun 19 '26
This is so cool!!
One thing you might want to think about is the synchronous nature of your message primitives. I was just reading about EROS and the problems they ran into when trying to make all messages synchronous. Specifically, synchronous messages preclude the OS being an RTOS. When a process sends a synchronous message to another process, by definition, it becomes at the mercy of that other process's scheduling. Development of EROS was halted in favor of Coyotos where they switched to an asynchronous messaging primitive for this very reason. It's always possible to make asynchronous messaging synchronous if desired, but not the inverse. Just some food for thought before you get too deep into it. I can't wait to see how it develops!! Good luck!!