|
|
|
|
|
by saladuh
1749 days ago
|
|
Not to come off like an ass, but honestly when I read 'rust' I laughed. If you knew how the founders of Sway feel about rust + the difficulties people have had with creating rust wayland compositors (particularly with wlroots), the idea of Sway being quoted as written in rust is almost satirical |
|
Wlroots is a bit of an extreme case as the API is mostly idiomatic to low-level C and not easy to wrap in safe rust, I believe the developers are also not keen on supporting C++ either. This is intentional design choice on their part, as "language-binding-friendly" C APIs usually tend to expose some kind of reference counting or smart pointers that make it easy to adapt to a higher level language.