emacs-devel
[Top][All Lists]
Advanced

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

Re: continuation passing in Emacs vs. JUST-THIS-ONE


From: tomas
Subject: Re: continuation passing in Emacs vs. JUST-THIS-ONE
Date: Sun, 12 Mar 2023 07:33:23 +0100

On Sat, Mar 11, 2023 at 05:45:15PM -0800, Jim Porter wrote:

[...]

> In any case, working on this would likely be a big help for Emacs. One of
> the more-common things I see people wish for in Emacs is "threading". I
> think this is probably a mistaken wish (Emacs generally doesn't use enough
> CPU to saturate a core), but what they really want is for fewer operations
> that block for a long time. If it were easier to divide up long-running
> tasks into small chunks, that would go a long way towards solving these
> sorts of issues.

Oooh. You made my day :)

> (In theory, you could even get real multithreading this way, if you could
> divide up your task in a way that Emacs could be sure some chunk can be
> offloaded onto another thread.)

Exactly: those are two different building blocks, and most useful
when available separately.

Cheers
-- 
t

Attachment: signature.asc
Description: PGP signature


reply via email to

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