D
D
Daniel2021-03-28 03:45:18
Operating Systems
Daniel, 2021-03-28 03:45:18

What is the difference between Unix-like systems and non-unix systems?

Here is the site rus-linux.net/MyLDP/kernel/toyos/sozdaem-unix-like... Complete writing of the unix kernel operating system. Probably the most elaborate and detailed series of articles I've ever seen.
But everything is there from scratch, I thought, like you need to connect some kind of library, or like there is a Unix framework, and like there already write features.
What's the question. Everything is written from scratch there, the loader, ... there are no imports, libraries or anything else. THAT is pure code, Why is the kernel unix-like there . THAT is any kernel of the operating system that you personally write, will unix be similar? Or how?
What should be the attributes of a unix kernel, or rather the reverse question is how to write a non-unix like kernel .
Google does not provide a clear answer to the question

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Saboteur, 2021-03-28
@daniil14056

Read what is https://ru.wikipedia.org/wiki/POSIX
In short, this is a standard that describes the requirements for the operating system.
If the operating system is written in such a way that it supports this standard, then a ready-made program can be compiled for it from existing code, and not written specifically for it from scratch.
What frameworks? What libraries - OS is practically the most low-level that is. Therefore, yes, clean code, using the BIOS functions.

What should be the attributes of the unix kernel, or rather the reverse question is how to write a non-unix like kernel.

You invent what you want and write - it will not turn out like a Unix.

V
Vladimir Korotenko, 2021-03-28
@firedragon

To practice, read here
https://forum.ixbt.com/topic.cgi?id=48:12447
The advantage is that relatively simple systems cannot be compared with a general-purpose OS.
https://habr.com/ru/post/249273/
As for comparisons, this is a thankless task. Unix like OS is a very broad concept.
https://en.wikipedia.org/wiki/Comparison_of_operat...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question