logoalt Hacker News

ogoffart • today at 7:02 AM • 0 replies • view on HN

Ugly is a matter of taste. But I agree Rust isn't the best language to describe UI: it makes you focus on ownership and lifetimes and explicit memory allocation, instead of the layout. That's in Slint, we uses a DSL for the UI description and keeps the logic in Rust. I blogged about the subject here: https://slint.dev/blog/domain-specific-language-vs-imperativ...