[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Concurrency, again
From: |
Perry E. Metzger |
Subject: |
Re: Concurrency, again |
Date: |
Wed, 12 Oct 2016 16:59:11 -0400 |
On Wed, 12 Oct 2016 15:43:12 -0400 Stefan Monnier
<address@hidden> wrote:
> - I want semantic-mode to scan my buffers in the background and to
> scan several buffers at the same time, to make use of my 8 cores.
> The concurrency branch doesn't really try to solve this problem.
> I'm not sure what's the best way to solve this problem, and I
> don't even know what would be a "simple" way to solve this problem.
One possibility: move to a multiple processes paradigm where each
buffer has an associated process, and global variable values are
propagated via message passing to a master process. Think Hoare's CSP
or Go or Erlang for precedents, though perhaps with more sugaring to
make it easy for Emacs users to not think much about global state.
This sort of model might be especially important if Emacs starts
being used as a serious web browser by lots of its community, given
how much CPU modern browsers can eat.
Perry
--
Perry E. Metzger address@hidden
- Re: Emacs Lisp's future, (continued)
- Re: Emacs Lisp's future, John Wiegley, 2016/10/09
- Re: Concurrency, again (was: Emacs Lisp's future), Eli Zaretskii, 2016/10/10
- Re: Concurrency, again, Paul Eggert, 2016/10/10
- Re: Concurrency, again, Stefan Monnier, 2016/10/12
- Re: Concurrency, again, raman, 2016/10/12
- Re: Concurrency, again, John Wiegley, 2016/10/12
- Re: Concurrency, again, Eli Zaretskii, 2016/10/12
- Re: Concurrency, again, John Wiegley, 2016/10/12
- Re: Concurrency, again, Eli Zaretskii, 2016/10/12
- Re: Concurrency, again, Stefan Monnier, 2016/10/12
- Re: Concurrency, again,
Perry E. Metzger <=
- Re: Concurrency, again, Søren Pilgård, 2016/10/12
- Re: Concurrency, again, Perry E. Metzger, 2016/10/12
- Re: Concurrency, again, Stefan Monnier, 2016/10/12
- Re: Concurrency, again, John Wiegley, 2016/10/12
- Re: Concurrency, again, Eli Zaretskii, 2016/10/13
- Re: Concurrency, again, Perry E. Metzger, 2016/10/13
- Re: Concurrency, again, Stefan Monnier, 2016/10/13
- Re: Concurrency, again, John Wiegley, 2016/10/13
- Re: Concurrency, again, Stefan Monnier, 2016/10/13
- Re: Concurrency, again, Richard Stallman, 2016/10/14