OSDev.org

The Place to Start for Operating System Developers
It is currently Sun Apr 28, 2024 6:51 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: So I have yet to see Redox mentioned here
PostPosted: Tue Apr 19, 2016 7:30 am 
Offline
Member
Member
User avatar

Joined: Mon Apr 18, 2016 9:50 am
Posts: 138
Location: New York New York
<shill>
http://www.redox-os.org/
</shill>

I'm not involved with it (I still haven't even learned Rust as of yet), but these guys didn't start all that long ago and yet the project has boomed and shown some serious progress.

As such, I've been really surprised to see, to my knowledge, no mention of it here. But maybe I'm just an ******* who hasn't been paying attention.

_________________
The OS is P5. Don't expect it to build.


Top
 Profile  
 
 Post subject: Re: So I have yet to see Redox mentioned here
PostPosted: Tue Apr 19, 2016 3:54 pm 
Offline
Member
Member
User avatar

Joined: Sat Dec 27, 2014 9:11 am
Posts: 901
Location: Maadi, Cairo, Egypt
Looks pretty neat, actually.

_________________
You know your OS is advanced when you stop using the Intel programming guide as a reference.


Top
 Profile  
 
 Post subject: Re: So I have yet to see Redox mentioned here
PostPosted: Tue Apr 19, 2016 5:36 pm 
Offline
Member
Member
User avatar

Joined: Thu Mar 27, 2014 3:57 am
Posts: 568
Location: Moscow, Russia
You're right, it hasn't been mentioned here (except for the Wiki) according to the search results. I heard about it earlier. That's a great project!

_________________
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
- Alan Kay


Top
 Profile  
 
 Post subject: Re: So I have yet to see Redox mentioned here
PostPosted: Tue Apr 19, 2016 11:31 pm 
Offline
Member
Member

Joined: Fri May 01, 2015 2:23 am
Posts: 63
Browsing their git repository, I started wondering how they call is 'microkernel' even in design. The kernel directory includes stuff like audio, disk, drivers, graphics, network, usb.. Either they organize their codebase funny, or just use that phrase for marketing.

_________________
Hellbender OS at github.


Top
 Profile  
 
 Post subject: Re: So I have yet to see Redox mentioned here
PostPosted: Tue Apr 19, 2016 11:42 pm 
Offline
Member
Member

Joined: Thu Mar 25, 2010 11:26 pm
Posts: 1801
Location: Melbourne, Australia
Hellbender, yeah I thought the same thing. I didn't look very closely but I did notice in their docs that they are hoping to reduce the size of the kernel. Perhaps they intend to move it out.

_________________
If a trainstation is where trains stop, what is a workstation ?


Top
 Profile  
 
 Post subject: Re: So I have yet to see Redox mentioned here
PostPosted: Wed Apr 20, 2016 6:27 am 
Offline
Member
Member
User avatar

Joined: Fri Oct 27, 2006 9:42 am
Posts: 1925
Location: Athens, GA, USA
shrug The term 'micro-kernel' has gotten stretched pretty far over the years, going back to the original Mach kernel or earlier. As I've mentioned here before, I've even seen the Windows NT kernel described as one (in one of William Stallings' book), which is total nonsense. Almost all kernels described as micro-kernels are actually hybrid kernels and quite a few are not 'micro' at all.

Keep in mind that 'micro-kernel' isn't quite what most people think it is. While most OS-devvers know that one of the defining qualities of a micro-kernel is that device drivers are separated from the kernel, many are under the impression that this is the only such defining quality, and only a few seem to know the historical origins of this and the original purpose for such designs. Plenty seem to think that it is defined as 'having drivers run in userspace instead of kernel space', which is a notable misunderstanding as it highlights the changes that have occurred in stock hardware since the concept was developed.

In point of fact, the original definition of 'micro-kernel' was a system that did not compile the whole operating system into a single binary, and used message-passing for inter-process communication and synchronization. It did not discuss separating part of the system facilities out into userspace at all.

The reason for this is simple: the primary purpose of the design was to build a multitasking system that could be stable on systems that had no hardware memory management, like the 6809, 68000, and 8086. The whole idea came about as a way of working around the limitations of the then-current microprocessors without resorting to a monotasking system. Like with the contemporaneous development of RISC hardware (which also had its roots partly in the need to get around a barrier, in that case the limits of the IC foundry that UC Berkeley set up for their students in the 1970s), it proved to have several technical advantages unrelated to that, but those didn't become evident until later.

While they inspired a lot of innovation, and led to pretty much the elimination of monolithic kernels in their original form (essentially all non-toy systems called monolithic today are also hybrid, including Linux and Windows), 'pure' micro-kernels were a solution to something that is no longer a problem on 99% of stock hardware.

_________________
Rev. First Speaker Schol-R-LEA;2 LCF ELF JAM POEE KoR KCO PPWMTF
Ordo OS Project
Lisp programmers tend to seem very odd to outsiders, just like anyone else who has had a religious experience they can't quite explain to others.


Last edited by Schol-R-LEA on Wed Apr 20, 2016 7:15 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: So I have yet to see Redox mentioned here
PostPosted: Wed Apr 20, 2016 7:15 am 
Offline
Member
Member
User avatar

Joined: Mon Apr 18, 2016 9:50 am
Posts: 138
Location: New York New York
Purely devil's advocate:

Quote:
In point of fact, the original definition of 'micro-kernel' was a system that did not compile the whole operating system into a single binary, and used message-passing for inter-process communication and synchronization.


So kind of like NT, then?

_________________
The OS is P5. Don't expect it to build.


Top
 Profile  
 
 Post subject: Re: So I have yet to see Redox mentioned here
PostPosted: Wed Apr 20, 2016 7:17 am 
Offline
Member
Member
User avatar

Joined: Fri Oct 27, 2006 9:42 am
Posts: 1925
Location: Athens, GA, USA
jojo wrote:
Purely devil's advocate:

Quote:
In point of fact, the original definition of 'micro-kernel' was a system that did not compile the whole operating system into a single binary, and used message-passing for inter-process communication and synchronization.


So kind of like NT, then?


Yeah, hence the claim. I'm not saying that the claim doesn't have any merit, just that it is 'technically correct - the best kind of correct', rather than a meaningful description. Also, the NT kernel has several kinds of IPC primitives, not just message-passing - I should have said 'used message-passing as the sole primitive for inter-process communication and synchronization', since the primary idea was that less abstract synchronization primitives such as semaphores were more prone to bugs, and more likely to get misused or sabotaged.

Anyway, the reason for this whole pedantic aside was not to say that the term was being misused, but that the idea has evolved a lot since it arose. In the real world, 'pure' designs are rarely practical ones - and yes, I am aware that there is a bit of hypocrisy in me saying that, but I am no longer aiming at writing a world-beating OS; purity is just fine for a research project, and in fact is in some ways a necessity to reduce implementation variables.

_________________
Rev. First Speaker Schol-R-LEA;2 LCF ELF JAM POEE KoR KCO PPWMTF
Ordo OS Project
Lisp programmers tend to seem very odd to outsiders, just like anyone else who has had a religious experience they can't quite explain to others.


Top
 Profile  
 
 Post subject: Re: So I have yet to see Redox mentioned here
PostPosted: Wed Apr 20, 2016 4:01 pm 
Offline
Member
Member

Joined: Thu Mar 25, 2010 11:26 pm
Posts: 1801
Location: Melbourne, Australia
I don't accept the word 'hybrid' as an accurate, technical description of anything unless the description tells me what 2 things it is a hybrid of. Windows NT and Linux may be hybrid kernels but they are not hybrids of a microkernel and a monolithic kernel. They are simply different variants of the monolithic kernel. As far as I can tell neither has any of the important traits of a microkernel.

Of course, if 'hybrid' is being used as a marketing term then we can ignore its actual meaning as we ignore the literal meaning of most terms used in marketing. I have no problem with that.

Back on topic, Redox does claim to be a microkernel. Unfortunately, I don't read Rust so can neither confirm nor deny it but reading the docs makes me think that it probably is a microkernel.

_________________
If a trainstation is where trains stop, what is a workstation ?


Top
 Profile  
 
 Post subject: Re: So I have yet to see Redox mentioned here
PostPosted: Mon Mar 06, 2023 7:58 pm 
Offline

Joined: Mon Mar 06, 2023 7:27 pm
Posts: 2
Redox OS progressed a lot since 2016, in the beginning things needed to be moved out from the kernel.

Actually the kernel have less than ~9k SLOCs and have WIP x86/ARM64 ports.

The changes since 2016 are gigantic to say here, you can read in our blog section of the website (News page).

We are at GitLab, we have a FAQ, self-hosting is close, our own in-house C library and more than 100 software ported (some recipes contains dirty patches because we don't have complete POSIX support in our C library).

https://redox-os.org

I'm the Community/Documentation Manager of this project.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 17 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group