# MichalStrehovsky/zerosharp

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

Repository: https://github.com/MichalStrehovsky/zerosharp
Canonical: https://ross.abutalabs.com/products/zerosharp
Language: C#
License Family: other
Topics: systems-programming, csharp
Last push: 2024-07-06T18:47:03+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 2768, "days_push": 788, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2124, forks 108 (observed 2026-08-28T04:06:16.781395+00:00)

## What it is
A collection of demo samples showing how C# can be compiled to native code with .NET Native AOT for systems programming, including a no-runtime mode and an EFI bare-metal boot application. It is educational demonstration code rather than a production library.

## Use cases
- write C# that compiles to a tiny native executable with no runtime dependencies
- boot C# code on bare metal via EFI without an operating system
- learn how NativeAOT compiles C# to native code
- explore C# without the standard base class libraries
- build a minimal C# program with GC and exception handling using a custom class library

## When to choose
- you want to learn or experiment with C# for systems programming or bare-metal scenarios
- you need reference samples for NativeAOT compilation without the standard .NET libraries

## When to avoid
- you just want to native-compile a normal .NET application - use NativeAOT directly
- you need a supported, production-ready library with a license and ongoing maintenance

## Facets
- artifact type: learning-resource
- maturity: experimental
- function: compiler, developer-tools
- domain: programming-languages, compilers, operating-systems, developer-tools
- platform: cross-platform, windows, cpp
- tags: csharp, nativeaot, systems-programming, bare-metal, efi, samples, no-runtime, linux, macos

## Member repositories
- MichalStrehovsky/zerosharp (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:16.781395+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:52:47.538419+00:00, confidence not recorded.
  - readme: https://github.com/MichalStrehovsky/zerosharp (fetched 2026-08-28T04:06:16.781395+00:00, sha c2ea6676c28e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
