Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Binary size #11

Open
btj opened this issue Jan 6, 2023 · 2 comments
Open

Binary size #11

btj opened this issue Jan 6, 2023 · 2 comments

Comments

@btj
Copy link
Owner

btj commented Jan 6, 2023

example0.exe, a trivial hello world example, is 4.7MB on my Macbook.

@btj
Copy link
Owner Author

btj commented Jul 17, 2024

One approach for reducing the size overhead would be to add support for optionally recording the set of APIs used at runtime to a log, and then to generate an application-specific version of the bindings that includes only the logged APIs.

@martindemello
Copy link
Contributor

why can't that be statically analysed from the code? that sounds easier than injecting runtime logging.

(also 4.7M doesn't seem too terrible if it's a fixed overhead, it's within the range I would think was reasonably small for a GUI app)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants