emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Abysmal state of GTK build


From: Óscar Fuentes
Subject: Re: Abysmal state of GTK build
Date: Sun, 21 Aug 2022 19:35:13 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> now I'll rather pick some low-level GUI library and build on top of
>> it.
>
> Any candidates you could mention?

One possibility is some tiny GUI library of the type of Nuklear, Dear
Imgui, etc. Those have the inconvenience of belonging to the "immediate"
paradigm (they generate the contents of the window and paint them lots
of times per second, as games do) which can cause significant CPU
overhead if the cache mechanisms for not regenerating/repainting
non-changing areas are not used effectively.

Then we have Skia and Cairo, which "simply" provide surfaces to paint
on. IIRC Po said that is not happy with the later.

Finally, SDL is somewhere on the middle.

Using libraries intended for games is not as bizarre as it sounds,
because Emacs' architecture is more similar to a video game than to a
conventional desktop application.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]