The Donald Trump: New top story on Hacker News: Ask HN: I'd like to practice coding GUI from scratch. Any recommendations?

Sunday, 20 March 2022

New top story on Hacker News: Ask HN: I'd like to practice coding GUI from scratch. Any recommendations?

Ask HN: I'd like to practice coding GUI from scratch. Any recommendations?
6 by scott01 | 2 comments on Hacker News.
Hi folks! As the title says, I want to practice coding a GUI framework, probably in C++. I read about a retained and an immediate modes, have a rough understanding how event loop works, and overall my goal is to practice architecture and optimization (especially cache-friendliness), and less so graphics and typography rendering, though I understand it's unavoidable to implement a rendering pipeline (I plan to start off with AGG or Skia graphics libraries). The dummy app itself will be less about forms but more about data representation, e.g. an audio editor or a node-based system, where data should be updated and visualized in real time, and everything should feel responsive. Could you please give some research directions? Maybe case studies, best practices, some interesting software, maybe to read more in detail about related architectures, etc.? Or maybe personal stories? I'm struggling to find related info which would not be focused on some framework, etc.

No comments:

Post a Comment