Seeking Collaboration: Rust bindings for icu-collator

One of the remaining gaps in my ex_cldr libs is collation (sorting and comparing).

There is a spec-compliant version in Rust` and I’d be really pleased if there was any rust/rustler person who’d be interested collaborating on a re-write of ex_cldr_collation by building the Rustler bindings while I work on the overall api and package.

I’d like to promise you fame and fortune in return for your efforts. Alas, I can promise only my thanks :slight_smile:

13 Likes

@kip, the link to ex_cldr is broken, should be ex_cldr | Hex, no?

2 Likes

I’d be happy to volunteer my help with this. I’ve been wondering if there were any useful Rust crates that could be pulled into the Elixir ecosystem via rustler, as that seems an impactful way to contribute to the Elixir ecosystem. icu_collator is exactly the sort of crate that fits that description.

5 Likes

@ivanhercaz Fixed, thanks for the letting me know.

@zzq That’s fantastic, thanks for the offer and very much appreciated. I’ll open up an issue on the ex_cldr_collation repo describing what I think the Elixir api would look like and we can go from there.

Getting this done scratches a really long term itch - properly ordering is really important in any localised app and this has been a glaring omission.

3 Likes

Sorry to be a pain but that link is broken. It points to cldr_collations (plural) when it should be singular.

The full link to the repo + the issue is here: Move to rust-based icu_collator bindings · Issue #9 · elixir-cldr/cldr_collation · GitHub

I appreciate you pointing it out. Fixed now. Too late at night and then too early in the morning.

Sorry to derail the thread, but speaking of an “impactful way to contribute to the Elixir ecosystem”, maybe packaging up the Typst typesetting engine via rustler would qualify. Someone mentioned it as a solution to a PDF output question on another recent thread .

I am interested