The default "dylib" pragma-enabled wrappers linked with my program produce a 216 kb hello world, while pkg-config and direct so libs (only importc, cdecl pragmas) produce 168K in debug mode, while the same 28K size for -d:release. Startup time differs by 0.001 s (dylib version being slower).
I wonder if it'll reduce size and loading time of Aporia binary as a serious app.
Is it ok If i make a convention on default "define" like "-d:use_pkg_config" for all wrappers? Without -d:use_pkg_config all wrappers work as before (dylib pragma).
-d:use_pkg_config is fine. However, there is also a --dynlibOverride switch that accomplishes the same.
Is the startup time difference of 1ms reproducible? I don't believe it's statistically significant. ;-)