What are you working on? - Programming On Unix
Users browsing this thread: 56 Guest(s)
|
|||
(10-04-2021, 03:14 AM)nvlr Wrote: Writing a new toolkit to replace QT/GTK entirely since it talks to X11 and Win32 directly. I noticed that I may have bitten off more than I can chew at times, but with enough persistence and help, I can get through it. That seems interesting. Which tech do you use for that? Which features do you plan to have? (10-04-2021, 02:08 PM)ckester Wrote: implementing the ncurses API directly on top of X and cutting out the terminal emulation layer with all its archaic escape sequences. Sorry, I have not, but... well, I would start by writing something on top of SDL2 or glfw3 to start with, likely SDL2. The reason is simple: to delay the problems X11 will give you anyway. Also, I personally do *not* like the curses API, to the point I prefer to use Ecma-48's ref and write my escape sequences myself when I need something. There are few problems with curses actually. One thing I don't like is that it mixes low level and high level features in a same lib (moving cursor on particular place and handling of windows/widgets). Would be far better to have 2 separated libraries. I also do not like it's macro-based API: I try to avoid using macros as much as possible, because this never, really never, helps with long-term maintenance. I also remember it feels like a bunch of features thrown and hacked together as time passes by, instead of being thought to be a UI library. I do not remember the other issues I had with it, but those are enough for me to not be willing to use it or anything that tries to clone it. |
|||