Live data from Hacker News

Show HN: Anos – a hand-written ~100KiB microkernel for x86-64 and RISC-V

github.com

31–36 of 36 posts

Re: Show HN: Anos – a hand-written ~100KiB microkernel for x86-64 and RISC-V

#31
post #30

Oh boy.. this is a perfect Show HN to wake up to :) With the wild pace of everything going on right now. I can’t be alone feeling it truly captures the hacker spirit. Echoes to early Lisp days, or maybe my high school side quest to learn Minix? Ie building from scratch and seeing what’s possible. Sadly most of us will never have the staying power (well definitely not myself) and yet you gave us a little window into y…

Thank you! A project like this is all about compounding small wins for sure, just building one thing on top of the previous thing until (hopefully) one day it’s a complete thing :D

I’m glad you found some inspiration and really appreciate your kind comment :)

Re: Show HN: Anos – a hand-written ~100KiB microkernel for x86-64 and RISC-V

#32

Earlier quoted context omitted.

I agree that for it to be generally useful, it’ll need to be easy to port existing software to. But I don’t think I’ll need a translation layer at the syscall level (unless I want to expose a Linux-compatible ABI as you suggest, which is totally a non-goal). You can get surprisingly far in this area with a decent libc implementation - once you have that porting a lot of things becomes possible. There will always be h…

I agree that instead of implementing the Linux syscalls implementing just those libc functions that are OS dependent is sufficient for a large fraction of the existing programs. However, this means implementing a POSIX layer, similarly to Windows NT. So it is a solution more distant from a "non-POSIX operating system". While a large part of the Linux syscalls have been motivated by the necessities of implementing POS…

There would likely be value in a POSIX layer as you describe, at least from the point of view of porting existing programs. And perhaps it will happen, if I get far enough along, but it will never be a kernel feature - it would be an entirely userspace concept intended only to speed up porting and building out said user space.

Perhaps in the fullness of time essential software can be rewritten to Anos’ “native API”, or perhaps that’s a pipe dream and not worth the work, but the option will be there.

Re: Show HN: Anos – a hand-written ~100KiB microkernel for x86-64 and RISC-V

#33
post #30

Oh boy.. this is a perfect Show HN to wake up to :) With the wild pace of everything going on right now. I can’t be alone feeling it truly captures the hacker spirit. Echoes to early Lisp days, or maybe my high school side quest to learn Minix? Ie building from scratch and seeing what’s possible. Sadly most of us will never have the staying power (well definitely not myself) and yet you gave us a little window into y…

Nah, it's just AI slop, despite OP's "hand-written" protestation.

Re: Show HN: Anos – a hand-written ~100KiB microkernel for x86-64 and RISC-V

#34
post #30

Oh boy.. this is a perfect Show HN to wake up to :) With the wild pace of everything going on right now. I can’t be alone feeling it truly captures the hacker spirit. Echoes to early Lisp days, or maybe my high school side quest to learn Minix? Ie building from scratch and seeing what’s possible. Sadly most of us will never have the staying power (well definitely not myself) and yet you gave us a little window into y…

Nah, it's just AI slop, despite OP's "hand-written" protestation.

It isn’t, actually.
Post reply on HN