Linked by Thom Holwerda on Tue 29th Mar 2016 23:04 UTC
OSNews, Generic OSes

I'm happy to announce the release of Sortix 1.0. This is the first self-hosting and installable release.

Sortix is a small self-hosting operating-system aiming to be a clean and modern POSIX implementation. It is a hobbyist operating system written from scratch with its own base system, including kernel and standard library, as well as ports of third party software.

We first reported on Sortix (version 0.9) a year ago.

Thread beginning with comment 626739
To read all comments associated with this story, please click here.
What's with the POSIX obsession?
by manjabes on Wed 30th Mar 2016 06:05 UTC
manjabes
Member since:
2005-08-27

What is it with this obsession with POSIX as a benchmark and a target for hobby operating systems?
When you're doing all the work of "written from scratch with its own base system, including kernel and standard library, as well as ports of third party software" anyway then why limit yourself to POSIX?
I understand that it's way easier to achieve some level of usefulness running POSIX-compatible apps but there's a multitude of OS'es doing that anyway.

Why not explore alternative ways of doing things? A monoculture of anything just leads to stagnation and when the only benchmark that new hobby OS'es are compared to is a 30-year-old standard documenting 30...40-year old established practices then ominous thoughts come to mind. When the "other" camp is Windows (and ReactOS attempting to achieve some sort of compatibility) and a blip of Plan9 in the back of people's minds then effectively monoculture is what we have.

Reply Score: 4

tylerdurden Member since:
2009-03-17

It's a hobby project, not a research testbed. So it makes sense to re-use the wheel that aren't broken, than to waste time reinventing them.

Reply Parent Score: 7

sortie Member since:
2015-04-20

Thanks to osnews for covering this, cheers.

manjabes, there are such projects, but it's several orders of magnitude harder for them to get this far. POSIX is just a system interface, there's actually lots of room for innovation and quality in the implementation details. I want Sortix to be an example of this.

It's common to see comments like yours, so there's a FAQ on this matter at http://wiki.osdev.org/Yes_Another_Unix_Clone

Reply Parent Score: 4

cb88 Member since:
2009-04-23

How do you think your libc and musl libc compare?

I know musl is currently Linux specific but other than that It seems like the code there should be pretty clean.

Reply Parent Score: 2

sydbarrett74 Member since:
2007-07-24

Pretty impressive to have so much functionality in only 169K lines of code. Don't be discouraged by the nay-sayers who question your wisdom in embarking on a hobbyist project (it's probably sour grapes and envy more than anything else). Even if all you accomplish is to learn something new, then it wasn't a waste.

Reply Parent Score: 1

ameasures Member since:
2006-01-09

manjabes, there are such projects, but it's several orders of magnitude harder for them to get this far. POSIX is just a system interface, there's actually lots of room for innovation and quality in the implementation details.


Quite so. A one man project to create an operating system has too much to think about already: device drivers, schedulers, IPC, SMP, etc. If they are being creative and really engineering in those areas then realistically they will not have enough brain space to 'just replace POSIX with something better'.

BEOS came with some well designed API's that might be worth adopting, if additional people got involved. The two sets of API could live alongside each other if someone were willing to maintain them. Just a thought.

Reply Parent Score: 2