4 ms·
> The underlying force there is the absence of one unified baseline set of APIs for writing desktop programs. It's called the Common Desktop Environment.
by tbrownaw 1y ago
> The underlying force there is the absence of one unified baseline set of APIs for writing desktop programs.
It's called the Common Desktop Environment.
- skydhash 1y agoMost desktop programs don't need to rely on a DE (apart from some utilities). If Emacs can run anywhere, your programs can too. GTK or QT is more than enough. For anything else, you go with components on a needed basis, and they should preferably be desktop independent.
- hackyhacky 1y ago> If Emacs can run anywhere Any desktop program needs to be programmed against some API. In the case of Emacs, it's probably raw Xlib or a wrapper library on top of it. The problem with that is that (a) your dependency on X11, which is obsolete and has many documented inadequacies, (b) the lack of a modern widget library and toolkit makes extra, unnecessary work for the programmer, and (c) the lack of a cohesive visual language between programs makes the experience worse for the user. Toolkits like GTK and Qt solve all these problems. By avoiding them, you're just reinventing the wheel, poorly, every time.
- skydhash 1y agoEmacs has a GTK3 layer (among others) for its UI.
- dragandj 1y agoEmacs was there way before GTK and Qt appeared, though.
- hackyhacky 1y ago> Emacs was there way before GTK and Qt appeared, though. So your point is that we should use older technology even when it's been surpassed by better alternatives?
- dragochat 1y agonah, we all know the "real-life CDE" is called either OpenGL (see ImGui https://github.com/ocornut/imgui https://github.com/ocornut/imgui, egui https://github.com/emilk/egui https://github.com/emilk/egui etc) or... HTML/CSS/JS (see Electron, Tauri etc)
- hulitu 1y agoor ... or ... or...