Add support for embedding natively compiled .NET 7.0 assemblies #5612
Replies: 2 comments 3 replies
-
This looks really interesting. Introduction:A couple more resources I've found. I don't know the inner workings of Godot 4+ but, there are some limitations with regards to Native AOT. I'm not sure if any of these would be potential roadblocks. Limitations:Native AOT applications come with a few fundamental limitations and compatibility issues. The key limitations include:
The first release of native AOT in .NET 7 has additional limitations. These include:
|
Beta Was this translation helpful? Give feedback.
-
No dynamic loading is the biggest roadblock here. Until it's possible there's no way Native AOT can be implemented in godot I think. (Or it might be possible with source gen... not sure) |
Beta Was this translation helpful? Give feedback.
-
Recently I've watched this video its super interesting the fact that you can build into native code, because this will open a HUGE door for godot development, because for example:
Suppose you're doing a gdscript based game, in case you use an addon or library specific from C# this means the end user (player) will need to have mono installed on his machine, but compiling to native code this isnt necessary anymore!
please comment your toughts!
Beta Was this translation helpful? Give feedback.
All reactions