Skip to content

Support Native AOT compilation of applications against stack #3519

Description

@marcschier

The goal is to build ConsoleReferenceClient and ConsoleReferenceServer as native and WASM code using NativeAOT.

Work involved.

  • Make all libraries trimmable and collect trimmer warnings/errors to understand additional work involved.
  • All TypeInfo code using Reflection over object needs be rewritten using generics
  • All Clone code using Reflection needs to be rewritten against ICloneable and code must generate ICloneable
  • Use Variant for Variant scoped values instead of object.
  • Complex type system needs to be rewritten to not use Reflection.Emit
  • All serialization code must be generated using source generator
  • Provide code generated alternative to encodeable registration via reflection (Assembly enumeration of encodeables)
  • Provide code generated alternative to NodeState predefined nodes initialization, Node State creation and children initializationstring initialization
  • Configuration via code generation (already possible programmatically, so no priority)
  • Support Nodeset (export/import) under Native AOT. #3663

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementAPI or feature enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions