[Top][All Lists]

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

Re: Questions about throw-on-input

From: Alexander Miller
Subject: Re: Questions about throw-on-input
Date: Fri, 15 May 2020 20:44:04 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0

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?

Threads like these would still be plenty useful, you could still handle
language server communication (or semantic parsing, or imenu scanning
etc.) in the background with much less danger of stutter and a much
smaller problem area w.r.t. concurrency.

Does that make sense?

reply via email to

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