Re:Show HN: MyraOS – My 32-bit operating system in C and ASM...
by drougge on Monday October 27, 2025 @10:29AM
(#45721401)
There's probably a lot of other memory bugs though. The first thing I looked at was the shell, and almost immediately I spotted an out of bounds write (input[n] = '\0' where n could be sizeof(input)).
[ Parent
| on HN ]
Re:Show HN: MyraOS – My 32-bit operating system in C and ASM...
by vlovich123 on Monday October 27, 2025 @01:09PM
(#45723557)
For sure. I’m highlighting the nastier parts of the system that Rust can’t help with. I love Rust but it’s important to understand its limitations, particularly for something like OS development. There’s a similar way to make Rust unsafe using 100% safe Rust where you poke /proc/self/mem to violate memory safety using safe IO :).