-
Notifications
You must be signed in to change notification settings - Fork 313
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
Add support for ICU #501
Comments
Since ICU is large (as discussed in the linked issue): It would be great if choosing between static and dynamic linking is possible. On my system, all those projects link to ICU, and it would be nice to not have a second copy of it embedded in deno.
Of course only if it’s feasible. I speculate that ICU is much more stable than V8, so dynamically linking the former is probably much more realistic than with the latter (without things breaking and having to be rebuilt all the time) |
@flying-sheep That's probably out of the question because V8 is only tested against a particular build of ICU - the fork that Chromium bundles - and we don't have the resources to test against other versions or builds. Here are file sizes:
The first two contain code, where you only pay for what you use. I expect that V8 pulls in a few MB, I remember that was what it amounted to in Node.js. The last file is the big data table ICU uses. rusty_v8 can either embed it or load it externally so it can be shared but deno probably wants to embed it. Node.js used to ship a stripped down table containing only en_US but they (we - I was involved in that decision) stopped doing that in v14. I don't plan on revisiting that for rusty_v8 or deno. |
Closing, done. |
Just for the record, it appears that the main PR for this was #603. |
We should add ICU to rusty_v8 in some fashion.
The text was updated successfully, but these errors were encountered: