- 10 Posts
- 9 Comments
van2z@programming.devOPto
Rust@programming.dev•Experimenting with Iced - Simple but inefficient?English
1·3 years agommstick, it is always good to hear from you. You frequently provide a huge depth of knowledge in your comments.
I come from a windows background. If I want to make a memory efficient GUI, I always used native windows GUI libraries. All other frameworks have always seemed like they took up much more memory and CPU. This always annoyed me.
My little Minesweeper game is taking 78 MB of memory (with --release).
At the same time, Excel is only 2.5 MB, Notepad++ is only 1.9 MB.
Recently I found out that a lot of memory and CPU is used up simply to communicate with the GPU. I am confused about this… Does Excel not use the GPU?
I am sorry, I feel like I am starting to rant here. This memory issue has been annoying me for a while, and I have not heard anyone provide a clear reason why these complicated apps seems to take up much less memory than any simple cross-compatible app I build.
van2z@programming.devOPto
Rust@programming.dev•Experimenting with Iced - Simple but inefficient?English
3·3 years agoIndeed, a lacking multiline text is what stopped me from trying to use it as well. But with the minesweeper example, I thought “it’s just a bunch of buttons, surely this is simple enough for me to build?”
But no, the button widget doesn’t support right clicks or double clicks, which limits the functionality I can build into minesweeper.
Overall, I love how simple Iced code ends up being, which makes me think about contributing to this project. Only issue I have with it is this seeming inefficiency.
van2z@programming.devOPto
Experienced Devs@programming.dev•Trying to get release and testing in syncEnglish
2·3 years agoI like this response. Indeed, if we don’t have strong expectations from the devs to finish by a certain time, then we shouldn’t have such expectations on QA.
van2z@programming.devto
Programmer Humor@programming.dev•Inm looking at you Typescript dev
13·3 years agoI am happy there is no obvious “any” type in Rust.
van2z@programming.devto
Rust@programming.dev•Lemmy core devs have started work on a new front end using leptos
3·3 years agoIt’s not like they are programming communism into Lemmy.
van2z@programming.devOPtoFrugal@lemmy.world•Attach a bidet to your toilet. It's worth itEnglish
0·3 years agoIt sprays into the toilet
van2z@programming.devOPto
Programming.dev Meta@programming.dev•Is there a way for communities to combine together?English
1·3 years agoGo to https://programming.dev/search and type “rust” into the communities dropdown
van2z@programming.devOPto
Experienced Devs@programming.dev•Senior Devs in huge corps: Do you even code?English
0·3 years agoThat’s interesting, where do you live?


OMG, thank you! I have been using Iced. My simple application’s RAM just went down from 80 MB to only 4 MB.
The executable size went down from about 8 MB to 2.5 MB