this post was submitted on 31 Oct 2024
17 points (100.0% liked)
Rust
5989 readers
18 users here now
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Wormhole
Credits
- The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Before anyone suggests another library:
Iced
andEgui
both can't handle Arabic, which is a deal breaker.Iced
takes forever to compile and iterate, maybe that'll be fixed with dynamic linking.Relm
: I didn't know it existed before I started this project.Qt
bindings: IDK I forgotQt
existed, I was always more of GNOME* guy.* GNU Network Object something Environment
Use libcosmic 😑
No, but seriously.. skip to the end.
Iced can handle Arabic shaping-wise when cosmic-text is used, but it can't handle the direction (yet). If you only need it for the interface, a shit workaround would be to prefix all text with an RLM (RIGHT-TO-LEFT Mark). This would left-align all text of course.
Fast iteration is already fixed by using cranelift in your release-dev profile (or whatever you want to call it), and mold as a linker. The binary will be slower, but iteration will be much much faster.
Okay, something helpful instead: Did you try asking in the
rust:gnome.org
matrix room mentioned in the project page?Unfortunately no, I expect users to enter Arabic text as well.
Maybe, I didn't try that before, but I don't expect Cranelift to match the speeds
gtk-rs
is currently giving me; Cranelift also doesn't solve the problem ofrust-analyzer
acting crazy.No, I prefer public posts to prevent effort duplication, so much so that my mind started filtering out such things on project pages, but thanks for reminding me.