4 ms·
Genuine question: Does somebody understand how this compares to Druid https://github.com/linebender/druid https://github.com/linebender/druid
by O_H_E 5y ago
Genuine question: Does somebody understand how this compares to Druid https://github.com/linebender/druid https://github.com/linebender/druid
- danachow 5y agoWell for one this seems to do it’s own rendering. Druid depends on a native widget toolkit.
- adamnemecek 5y agoDruid does its own rendering using piet and uses some native controls. Here's an example of Druid rendering a button. https://github.com/linebender/druid/blob/master/druid/src/widget/button.rs#L170 https://github.com/linebender/druid/blob/master/druid/src/wi...
- raphlinus 5y agoI wrote a little on this last year, mostly still valid: https://raphlinus.github.io/rust/druid/2020/09/28/rust-2021.html https://raphlinus.github.io/rust/druid/2020/09/28/rust-2021.... I think there are approximately five viable Rust toolkits: Iced, Makepad, sixtyfps, egui, and Druid (in no particular order). Any of these five could evolve to being a real solution, with enough investment. Of course, it's possible another could arise, or that I've given short shrift to one of the other contenders (areweguiyet has a list, but that resource is not super well maintained). There are some things easier to do in Iced than Druid (especially integration with 3D, which is something we currently don't do at all). On the other hand, we're pushing pretty hard on infrastructure: proper text handling, input methods, subwindows, etc. Currently, Druid relies on platform capabilities for 2D drawing, but my main work right now is a new GPU renderer. And we hope to work with 'mwcampbell on accessibility in the next year (integrating AccessKit). We've got a great community, but tend not to toot our horn very loudly, so people might not be as aware of the progress we're making. By contrast, sixtyfps is a commercial product (in addition to a GPL release) and has weekly updates.
- O_H_E 5y agoOh wow, did not expect an answer form Ralph himself. Great fan of your work on Xi. Thanks for the detailed answer. As an aching Linux user, I appreciate your focus on infrastructure and accessibility.