4 ms·
What's the difference to e.g. xv6? There are already so many Unix like operating systems of all sizes written in C (e.g. Minix, xv6, BSD, Darwin, Hurd, Lemon,
by Rochus 2y ago
What's the difference to e.g. xv6?
There are already so many Unix like operating systems of all sizes written in C (e.g. Minix, xv6, BSD, Darwin, Hurd, Lemon, MentOS, SanOS). If I were to go to such an effort, I would try another language, or even my own (like e.g. Bunnix written in Hare). It is meanwhile more than clear that it can be done in C. But C is not really a good programming language (weird syntax, incomplete type checking, many specification gaps, etc.), so it would actually be more interesting to explore the suitability of other languages for such a task.
- sjsdaiuasgdia 2y agoWhen you write one, you can make those choices however you like. This target was sufficiently interesting to the people who pursued it. It doesn't have to meet your arbitrary standards.
- Rochus 2y agoUnfortunately, your comment neither answers my question nor is it helpful in relation to the other arguments.
- sjsdaiuasgdia 2y agoOther people's hobbies don't have to align to your priorities. In other words: https://i.kym-cdn.com/entries/icons/facebook/000/043/517/i_don't_like_thing_comic_by_jobeeart.jpg https://i.kym-cdn.com/entries/icons/facebook/000/043/517/i_d...
- Rochus 2y agoI asked out of interest and explained my point of view, imposing neither standards nor priorities. Why are you reacting so hostile to a question? Isn't it rather your intention to enforce your "standard" for questions and opinions that suit you?
- IgorPartola 2y agoYou are asking a question that doesn’t make sense. It seems like to you it does, and to others it sounds like “what does the color blue taste like?” People do stuff for fun. It doesn’t have to be useful. Or it can be useful to them because it isn’t the existing thing. xv6 is great, this is different. It makes different choices and studying the differences can be a good thing. Comparing two different pieces of software written in the same language is sometimes exactly what you want. The logic of “something similar already exists so don’t bother” is reductive. I am sure 99% of hobbyist software is useless to anyone but the person who wrote it. It still helps people learn and become professionals. Remember a few weeks ago there was a post here by a high school student detailing building a laptop from scratch. Was that wasted effort because you can just buy a laptop? Was Linux wasted effort? Why does this project offend you so much that you keep commenting on it in such a negative way?
- Rochus 2y ago> Comparing two different pieces of software written in the same language is sometimes exactly what you want. And here we are at my question, which obviously makes sense. So what's the difference to xv6? Why did the author consider it important to implement yet another unix-like system in C? What is the core benefit of this specific kernel? The website doesn't provide an answer. > that you keep commenting on it in such a negative way? That is a false accusation. I have not said anything negative about this project.
- rangerelf 2y agoI think it's a cool project even though I have no interest in downloading and running it, but it's a technological curiosity that might yield some insight of other things. If you're so hell-bent on knowing what differentiates Fiwix from xv6 why don't you download the projects and compare them? You shouldn't be asking others to do your work for you, or to justify their choices and actions to you.
- Rochus 2y ago
- dkenyser 2y ago> since it serves also for educational purposes, the kernel code is kept as simple as possible for the benefit of students and OS enthusiasts
- Rochus 2y agoSame as e.g. xv6.
- Paul-Craft 2y agoThis one is just a hobby (won't be big and professional like gnu), after all. ;-)
- Rochus 2y agoMost other mentioned are also just hobby kernels; actually also Linux and BSD started that way.
- homarp 2y agoparent is quoting this https://fossbytes.com/linus-torvaldss-famous-email-first-linux-announcement/ https://fossbytes.com/linus-torvaldss-famous-email-first-lin...
- glonq 2y agoI hope this newcomer Fiwix doesn't steal too much mindshare away from HURD...
- deleted 2y ago[deleted]
- BirAdam 2y agoC has been the standard system language almost since the time of its creation. Teaching that standard is valuable even if we’re in the midst of a change. As for why, a system designed to be pedantic will necessarily be different from one intending to be production ready. Why i386 and BIOS? It is simple enough for the purpose of teaching. Inundating a student with modern x86-64, UEFI (where most implementations do not meet standards), and such is not a great idea. People just get overwhelmed and shut down. It may be worthwhile to start with something simpler honestly, like DOS and 8088, or even CP/M and 8080. Working one up through time exposes the individual to simpler things and then progressively more complex things. It is useful. As a side benefit, teaching people about these older things instructs them on how and why things came to be the way they are which may help create better entrepreneurs.
- Rochus 2y ago> even if we’re in the midst of a change. What change do you refer to? Concerning C: C has obviously proven itself in countless system and embedded projects of all sizes. Nevertheless, C essentially represents the state of knowledge of the early seventies. Projects like the one discussed would be a good opportunity to test newer languages for their suitability for operating system and embedded development, without the pressure of a commercial project. > Why i386 and BIOS? It is simple enough for the purpose of teaching. Agree; that's also one of the reasons operating systems like xv6 dedicated for teaching do so; I'm therefore interested in how Fiwix positions itself in relation to xv6.
- pjmlp 2y agoC was hardly seen as systems language in 8 and 16 bit home computers, just one more to chose from, as most compute intensive stuff was actually still written in Assembly.
- BirAdam 2y agoMicrocomputers weren't the dominant computer type in the 70s and very early 80s.
- 2y ago
- pabs3 2y agoIIRC Fiwix has syscalls compatible with Linux, which could be useful in some cases.
- Rochus 2y agoThanks for the first useful answer so far. Does this mean that Fiwix would allow ELF binaries compiled for Linux to be executed natively in a Fiwix system without emulation? Have you tried this?
- pabs3 2y agoI think that is correct, depending on how modern the syscalls used are I guess. I expect it doesn't implement a lot of them. I haven't tried it though.