Mapping icu4c APIs? #499
-
I work on the .NET runtime team. We are looking into the feasibility of using icu4x in .NET when publishing a .NET application to a client workload. The first place we'd like to enable this is in a Blazor WebAssembly application. Today we are using icu4c for both server and client workloads. You can see the list of icu4c APIs we are using. I was wondering if there is a mapping (either directly, or rough mapping) between the icu4c APIs and the icu4x APIs. So I could see what functionality we'd need to call in icu4x to enable the same scenarios we are doing in icu4c today. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Hi @eerhardt! In particular, one of our goals is to serve as a write-once-use-everywhere ICU model and for that purpose we are investing in strong FFIs, but it's really early and 0.2 is aiming to introduce a first, if humble, proof of concept of that. If you're interested in trying ICU4X, the 0.1 and the current main branch are both suitable to explore integration for several of the APIs you listed like locale canonicalization and basic date time formatting. If you'd be open to collaborate with us, your use case list is strongly aligned with our roadmap, your participation would be well aligned with our 1.0 plans and allow us to achieve the wider API scope earlier. Let us know if you'd like to chat further and we can set up a call to discuss this further! |
Beta Was this translation helpful? Give feedback.
-
Hi @eerhardt, I would like to learn more about your exact needs:
|
Beta Was this translation helpful? Give feedback.
Hi @eerhardt!
Great to hear from the .NET team! Based on your description and my understanding of the .NET platform ICU4X project seems very well aligned.
Saying that, I'd like to manage expectations - we're still in an early stage of development. We released 0.1 in October 2020 and are currently working on the 0.2 release.
In particular, one of our goals is to serve as a write-once-use-everywhere ICU model and for that purpose we are investing in strong FFIs, but it's really early and 0.2 is aiming to introduce a first, if humble, proof of concept of that.
If you're interested in trying ICU4X, the 0.1 and the current main branch are both suitable to explore integration for several of the…