-
Notifications
You must be signed in to change notification settings - Fork 28
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
Allow removing Unicode tables from produced binaries #2411
Comments
From WWDC 2022 "What's new in Swift" at 5:04: Is that going to help resolve this issue? |
Formally, ICU dependency is removed from the standard library, but in terms of binary size this makes things even worse for people linking with Foundation, because the latter still depends on ICU. In this case binaries have two versions of Unicode tables embedded in them: new ICU replacement in stdlib, and ICU itself from Foundation. When not linking with Foundation, I don't think you'll see a substantial difference. The Unicode tables are still there, they're just coming from a different source. I'll rename the issue to mention Unicode tables explicitly to avoid the confusion. In that sense the issue is still not resolved. |
Oh good lord. I was so excited! 😢 It would be nice if there was a way to delegate that to the platform somehow. Seems like wasm as a concept takes a hit if every module that needs to deal with unicode correctly has to ship its own tables. |
Yeah, if there was a nice way to customize the source of Unicode tables, we could rely on |
This should reduce our binary size and partially resolve #7
The text was updated successfully, but these errors were encountered: