Live data from Hacker News

A completely-from-scratch hobby operating system

github.com

21–30 of 79 posts

Re: A completely-from-scratch hobby operating system

#22
post #7

Then why in the heck is he going for POSIX compatibility, when he can afford the luxury of not having to deal with blocking syscalls and all this crap? Much easier and safer multithreading. Also faster. And why we are there, why not a safer microkernel, keeping everything in userspace? Questions over questions.

And why in the heck didnt he write it in Rust!

...

Re: A completely-from-scratch hobby operating system

#23
post #5

Under features, the first bullet point is "Dynamically linked userspace." Can someone say what this means? How is this different than a userspace made up of dynamically linked utilities and shell?

Libraries are shared by programs and refrences to library routines are automatically resolved at program load time.

Re: A completely-from-scratch hobby operating system

#24
post #7

Then why in the heck is he going for POSIX compatibility, when he can afford the luxury of not having to deal with blocking syscalls and all this crap? Much easier and safer multithreading. Also faster. And why we are there, why not a safer microkernel, keeping everything in userspace? Questions over questions.

>why in the heck is he going for POSIX compatibility Because existing desktop applications can be ported to ToaruOS >why not a safer microkernel, keeping everything in userspace? This is a design choice, microkernels aren't necessarily better than hybrid, they're slower, harder to debug and process management can be complicated

Isn't QNX a microkernel? I remember it being known for being quite fast?

Re: A completely-from-scratch hobby operating system

#25
post #7

Then why in the heck is he going for POSIX compatibility, when he can afford the luxury of not having to deal with blocking syscalls and all this crap? Much easier and safer multithreading. Also faster. And why we are there, why not a safer microkernel, keeping everything in userspace? Questions over questions.

And why in the heck didnt he write it in Rust! ...

At least he didn't write it in node.js /s

Other interesting alternatives to c or rust might be vlang or zig.

Re: A completely-from-scratch hobby operating system

#29
post #7

Then why in the heck is he going for POSIX compatibility, when he can afford the luxury of not having to deal with blocking syscalls and all this crap? Much easier and safer multithreading. Also faster. And why we are there, why not a safer microkernel, keeping everything in userspace? Questions over questions.

>why in the heck is he going for POSIX compatibility Because existing desktop applications can be ported to ToaruOS >why not a safer microkernel, keeping everything in userspace? This is a design choice, microkernels aren't necessarily better than hybrid, they're slower, harder to debug and process management can be complicated

I'm very confused by this comment. There are a ton of other things you need to implement if you want to have desktop applications. POSIX does not specify any APIs for graphical applications. You might be thinking of something else.

If you want to support the lion's share of desktop applications, it would actually be better to implement the Win32 API...

Re: A completely-from-scratch hobby operating system

#30
post #24

Earlier quoted context omitted.

>why in the heck is he going for POSIX compatibility Because existing desktop applications can be ported to ToaruOS >why not a safer microkernel, keeping everything in userspace? This is a design choice, microkernels aren't necessarily better than hybrid, they're slower, harder to debug and process management can be complicated

Isn't QNX a microkernel? I remember it being known for being quite fast?

As a real-time OS it is known for deterministic response times. If it were exceptionally fast (and licenses cheap enough), you'd see hosts in the TOP500 using it.
Post reply on HN