Re:My from-scratch OS kernel that runs DOOM
by edoceo on Wednesday April 23, 2025 @09:56PM
(#43778590)
Could you explain more about why you'd need to port things? If you have a libc, shouldn't it "just work"? Do you have to scatter #define or #ifdef all over? What about if you wanted to support Golang? Would you have to implement a bunch of syscall?
[ Parent
| on HN ]
Re:My from-scratch OS kernel that runs DOOM
by UnmappedStack on Wednesday April 23, 2025 @10:13PM
(#43778671)
Well, the LibC is still quite small, and the syscalls aren't really compatible with Linux. A lot of things to port, for example Vim, require system libraries such as ncurses which need syscalls that aren't in the LibC. I don't really need many #ifdefs, at least not for most things, as it's a more or less posix-based libc.