Writing a kernel in C# on Linux

This page summarizes the projects mentioned and recommended in the original post on /r/csharp

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • zerosharp

    Demo of the potential of C# for systems programming with the .NET native ahead-of-time compilation technology.

  • You should definitely start with what Michal Strehovsky wrote: - https://medium.com/@MStrehovsky/building-a-self-contained-game-in-c-under-8-kilobytes-74c3cf60ea04 - https://github.com/MichalStrehovsky/zerosharp/tree/master/efi-no-runtime

  • EfiSharp

    An Attempt at building at least some of C# corelib for EFI applications. Inspired by https://github.com/MichalStrehovsky/zerosharp to see if this possible.

  • More detailed explanation how to jump into UEFI - https://codevision.medium.com/running-c-snake-inside-uefi-df193b6213e2 a bit more details introduction how to make UEFI application in C#. (Disclaimer - written by me) - https://github.com/JoshuaWierenga/EfiSharp - Collection of functions for working with UEFI in C#.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • ZeroKernel

    Discontinued Bringing kernel driver to C# with NativeAOT (Surpassed by https://github.com/ZeroLP/WDK.NET)

  • https://github.com/ZeroLP/ZeroKernel - This is kernel driver, but maybe that can give you idea what low-level C# can look like.

  • KernelSharp

    C# Kernel Mode Driver example using NativeAOT

  • https://github.com/VollRagm/KernelSharp Based on ZeroKernel, so again driver only.

  • Cosmos

    Cosmos is an operating system "construction kit". Build your own OS using managed languages such as C#, VB.NET, and more!

  • Singularity-OS

    Microsoft Research Singularity RDK 2.0 Source

  • Have you studied Microsoft's SingSharp kernel yet? I have not yet but might dive into comparing it to RoseOS. Thanks for the links.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts