Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
at this point i got it mostly under control tho, but I'm still interested, how your experiences with ui frameworks were in combo with rust, and if you have any suggestions
Not mine but good and powerful GUI Framework for Rust (can also be used with WASM) check https://egui.rs for examples
@jackpearce i have seen that recently too, it looks fairly modern. But it still utilizes gtk3 as a base. Im also not sure about the state of themes and styling in that one. But i might actually give it a go at some point 👌
Thanks for the heads up
i actually found a pure rust framework called kas.
Need to check that one out too.
LotsOfCaffeine4508166dWait wasn't popos making an entire desktop with a pure rust ui kit? Lemme check
update: they are and theyre using 'iced'
@LotsOfCaffeine this one looks pretty cool too 👌
lorentz12274166dGotta check these out
Actually kinda sad, that there is no pure rust ui framework out there, but rather mere adaptations of c/c++ frameworks for rust. It's better than nothing for sure, it just would be nice, if i could use a framework, that doesn't create a massive memory leak, because i looked at it funny.
In particular i'm using fltk-rs, and everytime I'm applying a font to some widget, 500kb get added as leaked memory. Doesn't sound like a lot, but for one it's a dynamically built application, so the order and amount of widgets changes, and this application is supposed to run days, if not weeks.
thanks to heaptrack i was able to pinpoint that to libpango, which i'm not even interacting with directly, but rather indirectly through the api.
Annoying, that i chose to use a language for actively preventing leaks and dangling pointers and stuff, but end up leaking memory because of a dependency somewhere.