Skip to content

Commit

Permalink
Merge pull request #563 from tgiphil/master
Browse files Browse the repository at this point in the history
- Updated FAQs
  • Loading branch information
tgiphil committed Jan 14, 2019
2 parents 572c694 + 0bda21b commit f329c23
Showing 1 changed file with 0 additions and 51 deletions.
51 changes: 0 additions & 51 deletions docs/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,62 +13,11 @@ Who can join?

Anyone who is interested in operating system or .NET development can join the alliance. You have to keep in mind our [[New BSD License|License]] for your contributions though.

What was the reason for creating MOSA?
--------------------------------------

The reason is to get the independent .NET operating system projects to work together and agree on some specifications. If any of these projects want to succeed, they'll need driver and developer support. Hardware developers will not write three drivers that basically do the same thing. So the reason for MOSA is simple: We don't want to waste time doing the same things twice or more.

Do you require the use of the MOSA kernel in depending projects?
----------------------------------------------------------------

No. We provide default implementations for kernel components, but there will not be another MOSA kernel. We want to share not embrace. Our policies clearly indicate that we develop kernel components whose primary purpose is to prove the specifications are viable and that they can be reused by projects developing along the MOSA specification.

What do your specifications describe?
--------------------------------------

There are various specifications in development. They have a textual part to them and an .NET interface that can be used by clients to communicate with various implementations of these services.

Why do you require interfaces for kernel services?
--------------------------------------------------

Because interfaces give us a lot of advantages. You can create proxies or adapters for them and using interfaces there's no definition of the kernel structure. Using this approach and the services offered by the .NET platform our services can be reused in nano-, micro- or macrokernels.

Is this based on Unix, Windows or Posix?
----------------------------------------

None. In our opinion it doesn't make sense to develop an operating system from scratch that doesn't take advantage of the features the .NET platform provides. Our specifications do take the same role as POSIX does in the Unix world though.

What advantages of .NET are you talking about?
----------------------------------------------

Self-Describing: Our idea of device drivers is to make them fully self-contained and self-describing. Classical operating system need metadata in the form of external files or kernel descriptor entries. Our drivers are marked with attributes that indicate the devices they support.
Common Intermediate Language: The operating system, its services, the drivers and apps will all be compiled to the CIL by the source code compilers and compiled to native code by the MOSA compiler. We ensure runtime safety and security with our compiler. We do not allow execution of untrusted code or unsafe code.

What about legacy (non-.NET) apps?
----------------------------------

We will not support native code applications on the MOSA kernel itself. A project, which uses the MOSA components may do so. We think that virtualization is the more appropriate way to run native applications on a managed kernel. The MOSA compiler will not support P/Invoke calls natively.

What kind of .NET runtime will be available?
--------------------------------------------

We are developing an entirely new Runtime as part of the MOSA effort. This runtime is developed along the CIL specifications published by ECMA. We are building our own runtime with pluggable algorithms in order to be very flexible and usable for research.

Which .NET assemblies are available?
------------------------------------

There are plans to reuse the assemblies provided by the .NET Core where appropriate. We will adapt their code and replace their system calls and native code interfaces with our specification based approach.

Is this based on Microsoft Singularity?
---------------------------------------

No. We do not share or reuse any code from Microsoft Singularity. Our code is developed from scratch and our developers have invested a lot of time in the design.

Why not reuse the Mono runtime or the SSCLI?
--------------------------------------------

The mono runtime is developed in C - we do not want unsafe code or code not compiled to the CLI. The SSCLI can not be used for the same reasons and additionally again due to restrictive licensing.

How is the Cosmos project different than MOSA?
----------------------------------------------

Expand Down

0 comments on commit f329c23

Please sign in to comment.