[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Questions about throw-on-input
From: |
Stefan Monnier |
Subject: |
Re: Questions about throw-on-input |
Date: |
Fri, 15 May 2020 14:55:44 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> I think every one's been talking about sharing data so far, but what
> about the other part of the equation 'shared + mutable state = Bad'? Do
> you think it would be feasible to remove mutability by giving side
> threads only read-only access to all that global shared data?
Just restricting side threads to read-only access is not sufficient: the
"main thread" also can't mutate that read-only data (or at least not
while the side threads can read it) otherwise we're back to "bad".
I like immutability, tho. And there's no doubt that it would have to be
part of the solution if we want to allow sharing.
Stefan
- Re: Questions about throw-on-input, (continued)
- Re: Questions about throw-on-input, Philipp Stephani, 2020/05/14
- RE: Questions about throw-on-input, Drew Adams, 2020/05/14
- Re: Questions about throw-on-input, Richard Stallman, 2020/05/14
- Re: Questions about throw-on-input, Stefan Monnier, 2020/05/14
- Re: Questions about throw-on-input, Arthur Miller, 2020/05/15
- Re: Questions about throw-on-input, Stefan Monnier, 2020/05/15
- Re: Questions about throw-on-input, Yuan Fu, 2020/05/15
- Re: Questions about throw-on-input, Stefan Monnier, 2020/05/15
- Re: Questions about throw-on-input, yyoncho, 2020/05/15
- Re: Questions about throw-on-input, Alexander Miller, 2020/05/15
- Re: Questions about throw-on-input,
Stefan Monnier <=
- Re: Questions about throw-on-input, Philipp Stephani, 2020/05/15
- Re: Questions about throw-on-input, Andrea Corallo, 2020/05/15
- Re: Questions about throw-on-input, Arthur Miller, 2020/05/15
- Re: Questions about throw-on-input, chad, 2020/05/15
- Re: Questions about throw-on-input, Eli Zaretskii, 2020/05/16
- Re: Questions about throw-on-input, Daniel Colascione, 2020/05/11
- Re: Questions about throw-on-input, Eli Zaretskii, 2020/05/12