Kai O'Reilly
Kai O'Reilly
I fixed the Android app issue in the latest version of gi (`go get goki.dev/gi/v2@main`).
Also, I figured out a way to get rid of gimain, so you can remove the `gimain.Run` from all of your code.
I am aware of that and planning to fix it soon.
I want to keep this open because there are still some binary size issues that I need to resolve.
The basic Cogent Core hello example is around twice as big, which is because Cogent Core comes with many more features and widgets. As I stated above, we are continuing...
I made further optimizations that reduce the binary size of the basic example by 1.5 MB, and I will continue to work on reducing binary sizes further.
I don't think the cgo is the main issue, although we may try https://github.com/ebitengine/purego at some point to make cross-compilation easier. The main remaining binary size issues I am aware...
Yep, upx is definitely an effective way to reduce binary sizes, although at some cost. I am considering potential further icon and spelling optimizations to reduce binary sizes more, and...
Also, if #974 is successful, that should drastically reduce web binary sizes.
I restructured the way instance variables work in typegen such that widgets are now only compiled into the app if they are used, which generally reduces binary sizes by several...