dotnet / dotnet/docs-maui

Managed static registrar for macios

Open
#1,875 0 comments 0 reactions 0 assignees View on GitHub
doc-idea
Dominant language
No language data
Stars
282
Forks
265
Avg merge
2d 2h
Merged PRs (30d)
19

Description

To support NativeAOT a new registrar is available in .NET 8. This new registrar is typically faster than the existing static registrar, particularly when calling an exported managed method from Objective-C, but the exact performance characteristics will vary between apps.

The new registrar can be enabled for device builds:

```xml

managed-static

```

The managed static registrar is the only registrar available when using NativeAOT (and will be selected by default in that case).

More info: https://github.com/xamarin/xamarin-macios/blob/main/docs/managed-static-registrar.md

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.