• 6 Posts
  • 8 Comments
Joined 1 year ago
cake
Cake day: July 1st, 2023

help-circle



  • mmstick, 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.


  • Indeed, 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.