# dotnet/corert

This repo contains CoreRT, an experimental .NET Core runtime optimized for AOT (ahead of time compilation) scenarios, with the accompanying compiler toolchain.

Repository: https://github.com/dotnet/corert
Canonical: https://ross.abutalabs.com/products/corert
Homepage: http://dot.net
Language: C#
License: MIT
License Family: permissive
Archived: true
Last push: 2020-11-01T06:38:13+00:00

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

## Adoption (not part of the score)
Stars 2887, forks 499 (observed 2026-08-28T04:07:28.260250+00:00)

## What it is
CoreRT is an experimental .NET Core runtime and compiler toolchain optimized for ahead-of-time (AOT) compilation, producing native single-file executables or native libraries from managed .NET applications. The project has been superseded by the NativeAOT experiment in dotnet/runtimelab and is no longer actively developed.

## Use cases
- compile a .NET app into a native single-file executable
- build a standalone native library from C# code consumable by other languages
- deploy .NET apps without requiring a runtime install
- reduce startup time of .NET console apps via AOT
- compile ASP.NET Core apps to native binaries
- experiment with running C# on WebAssembly

## When to choose
- you need native AOT compilation of .NET code and are studying the predecessor design
- you want to compile .NET to a native library callable from C/C++
- you are researching AOT runtime architecture in .NET

## When to avoid
- you want production AOT support - use NativeAOT in modern .NET instead
- your app relies on Assembly.LoadFile, Reflection.Emit, or COM/WinRT interop
- you need an actively maintained project
- you need full garbage collection or exception handling via the CppCodeGen backend

## Facets
- artifact type: framework
- maturity: abandoned
- function: compiler, interpreter, build-tool
- domain: compilers, developer-tools, cross-platform
- platform: windows, dotnet, cpp, wasm
- tags: aot, ahead-of-time-compilation, native-executables, dotnet-runtime, superseded-by-nativeaot, macos, linux

## Member repositories
- dotnet/corert (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:28.260250+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-29T18:48:17.804061+00:00, confidence not recorded.
  - readme: https://github.com/dotnet/corert (fetched 2026-08-28T04:07:28.260250+00:00, sha b86cf3f7e468)
  - homepage: http://dot.net (fetched 2026-08-29T09:50:37.962518+00:00, sha defc59b35e71)
  - site_page: https://learn.microsoft.com/docs (fetched 2026-08-29T09:50:37.974093+00:00, sha f29800be2b9a)
  - site_page: https://learn.microsoft.com/en-us/dotnet (fetched 2026-08-29T09:50:37.971813+00:00, sha efa9016b58aa)
- Data as of 2026-08-30T08:39:29.467469+00:00.
