SwiftGodot Development Themes #573
migueldeicaza
started this conversation in
General
Replies: 1 comment
-
Update: slowly making progress on SwiftGodotKit, see thag repository for details. The iOS version is more or less working, the Mac version needs additional work. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Recently Elijah asked me about what were the missing gaps, and I realized that while we have filed a lot of issues in this repository, they were not quite organized along themes. I am posting my mental dump of what I would like to see in SwiftGodot in the near future here.
Perhaps these themes can be turned into labels for our issues.
Principles
The following breaks down the list of bugs in GitHub issues into various buckets, perhaps these could be turned into GitHub labels for tracking:
Features/Capabilities
These are things that are known to be missing:
Windows
Windows sadly has a limit of 64k total methods exported from a library, and this breaks with the new and updated Godot API, so we need to start breaking it up:
Big Features:
Platform Support
Ports that do not exist, or are not tested:
Reliability
Hard to Diagnose:
Usability
[](http://- Bring support for Strict Concurrency)- Codable support
## Consistency with Swift, but could break API
Optimizations
Size
Performance
Onboarding
Tooling
We have good MacOS/iOS support, but it still requires too much knowledge on dynamic libraries, editing files and plugins.
Command Line Tools
Background: Request: Create package plugin for export #130
No spec exists
Large Project: Godot Plugin Extension to Develop in Godot
Best Practices
SwiftGodotKit
SwiftGodotKit was a proof of concept to embed Godot as a library into a Swift application, the current version that we have is very limited. Luckily, Godot 4.4 will come with “libgodot” support that allows proper embedding of Godot into arbitrary host-controlled surfaces.
In the iOS/Mac cases these can be UIView/NSView or SwiftUI Views.
Part of this effort came out of the Godot on iPad effort, and it is being upstreamed, but will be done in the 4.4 timeframe. Given that this is a vastly better stack than what we have now and the changes are deep, there is not much point in investing a lot of time on SwiftGodotKit on 4.3, and this shall be done based on the 4.4 tree in migeran
Beta Was this translation helpful? Give feedback.
All reactions