bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#38807: [Feature request]: Support lisp workers like web workers.


From: Michael Albinus
Subject: bug#38807: [Feature request]: Support lisp workers like web workers.
Date: Mon, 30 Dec 2019 19:31:26 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> Date: Mon, 30 Dec 2019 13:27:44 +0800
>> From: HaiJun Zhang <netjune@outlook.com>
>> 
>> I think the web worker is a good design for GUI applications such as
>> web browser. The workers do heavy
>> work and provide the results to the UI thread. The UI thread only
>> displays the result and responds to user
>> input events which makes good user responsiveness. 
>> 
>> The web workers run in other context. They can’t access data in the
>> UI thread. They can only communicate
>> with the UI thread by calling some limited APIs.
>
> We have threads in Emacs, so you could start by using them, no?

The point seems to be that there is a dedicated UI thread. That we don't
have (yet) in Emacs, and I like this idea.

Best regards, Michael.





reply via email to

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