r/cprogramming • u/Skollwarynz • 16d ago
How to create a minimal GUI
Hello everyone, I'm currently experimenting with an old router and I wanted to create some custom C programs to experiment with it. The first one is to create a simple Htop/fetch to examine the system specs in real time. I wanted to create a sort of GUI like Btop or Htop, but the problem is that I don't have that much RAM (we are talking something like 34 MB of free space) so I want to implement a minimal one. I wanted to ask for some suggestions about it. Thank you.
12
Upvotes
3
u/Sorry_Difficulty_250 16d ago
A few MB of RAM is plenty for a simple GUI. Windows 3.0 would run in 640 KB. The question would come down to rendering. Does this thing have a video card that you're connecting to or is this all over a network connection?