Skip to content

CoreCLR Interpreter #112158

Closed
Closed

Description

@BrzVlad

This issue tracks required work and progress for the porting of the mono interpreter to CoreCLR. The end goal of this issue is to be able to run entire test suites in full interpreter mode (without any JIT/AOT) on desktop platforms (ex. arm64 linux). This issue will be updated on the fly as the implementation progresses.

M1 - basic compilation and interpreting support of a simple method

M2 - stress tests involving object manipulation

M3 - EH and interpreter calls

M4 - mixing with compiled code

M5 - pinvoke support, full interpreter support for Hello World

M6 - IL opcodes for CoreCLR startup ordered by number of occurrences:


Nice to have refactorings/improvements that are out of scope of this project:

  • Remove the usage of StackType, we could rely exclusively on the InterpType instead
  • Optimize reimportation. Use a graph clique approach similar to RyuJIT, rather than naive retries.

Activity

  1. added this to the 10.0.0 milestone on Feb 4, 2025
  2. self-assigned this
    on Feb 4, 2025
  3. dotnet-policy-service commented on Feb 4, 2025

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @BrzVlad, @kotlarmilos
    See info in area-owners.md if you want to be subscribed.

  4. kidsang commented on Apr 22, 2025

    @kidsang

    great work!

  5. am11 commented on Apr 28, 2025

    @am11
    Member

    A discrete ckfinite op is absent from the list (for conformance: src/tests/JIT/IL_Conformance/Old/Base/ckfinite.ilproj). Implementation-wise, it's basically: https://godbolt.org/z/vxMYrvb8d.

  6. modified the milestones: 10.0.0, 11.0.0 on Jul 8, 2025
  7. shumtn commented on Nov 3, 2025

    @shumtn

    great work! are there examples available now? can we try them out?

  8. am11 commented on Mar 3, 2026

    @am11
    Member

    @BrzVlad, @janvorli, is it still in progress / is the checklist up-to-date?

  9. janvorli commented on Mar 3, 2026

    @janvorli
    Member

    The work is complete, this issue should be closed.

  10. locked and limited conversation to collaborators on Apr 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions