From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Alexander Miller Newsgroups: gmane.emacs.devel Subject: Re: Questions about throw-on-input Date: Fri, 15 May 2020 20:44:04 +0200 Message-ID: <9cf74f8f-b337-ca7d-90fe-259899ac478a@web.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="77196"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 Cc: casouri@gmail.com, rms@gnu.org, emacs-devel@gnu.org, p.stephani2@gmail.com, monnier@iro.umontreal.ca, arthur.miller@live.com, eliz@gnu.org, drew.adams@oracle.com To: yyoncho@gmail.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri May 15 20:46:42 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jZfM1-000Jww-KJ for ged-emacs-devel@m.gmane-mx.org; Fri, 15 May 2020 20:46:41 +0200 Original-Received: from localhost ([::1]:41560 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZfM0-0007pD-CD for ged-emacs-devel@m.gmane-mx.org; Fri, 15 May 2020 14:46:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53558) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZfJO-0005mc-1H for emacs-devel@gnu.org; Fri, 15 May 2020 14:43:58 -0400 Original-Received: from mout.web.de ([212.227.17.12]:57351) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jZfJN-0004EV-1y; Fri, 15 May 2020 14:43:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1589568223; bh=3u/t502v8HhnuO25hRxPv5Q4pNEy1qfBG5VW2SC8bIM=; h=X-UI-Sender-Class:To:Cc:Subject:In-Reply-To:From:Date; b=Rb7H8Ru43iYc1hHHf8KnWa8cgc7VEpCwbgrpVEf7hVgSwMMJZABMb4Poojhg8Hk0M 1eaPv3rLrGV3LBD3KUQ7R9hVnQFLG/SeeitQSNQ5WYkwBcc4GRUmfvY0VknaLJHOPI C5unILsUuX81065KjznDSQw+gcaTZx1RgplsDKUQ= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Original-Received: from [192.168.2.107] ([217.240.190.124]) by smtp.web.de (mrweb105 [213.165.67.124]) with ESMTPSA (Nemesis) id 1MiuOk-1iuqq23ebM-00ewWK; Fri, 15 May 2020 20:43:42 +0200 In-Reply-To: Content-Language: en-US X-Provags-ID: V03:K1:SWO8F2sk8LPrumeyHlxmbzudr2xnk/Y4LLoqTt5SeLgezSFhaT6 dQy7XnELYR7I4bKrydflxLn7sWIsbN2k1Cepp/4ha8uJFjbkU+K/i9vaKVkYwPlg5Mbr3ww wk6tmzYVo7owQU7YDXebXvPhxJQCzVg0vGQutznGTn6hVekiAwXE6Tg5iYnQVl/9C7j9f1k ltViTiU9jnUmIZHTcCb4g== X-UI-Out-Filterresults: notjunk:1;V03:K0:lFeCYGqRlqM=:ouTwk86JhAjIgTNjAtcBgA wnuUiRQEqRGR8rlrGM+fmecmSZw2MUWwLes7WufJMvpY7p+L1mvc10IrQ+gLNluezT+koDu/H i0aBCviWnTIOlXAvq1LNZxQdKxAvaRBLzKuujs2fkgKmmIiByOih5u/J8uuloovE/szwH2dDf grlqY8gFpfuhMs1FMj9P5aTN09MemTeaJ+peykxS8u2l7bfPz/cywUWyB6Fc9vNKeyOlY5EFw HpyBIc+Le37TkEeJ8Ad7wi2V3zjqQMYhJa1AzKEpxzgOcEuyP0TE7e30BOk3VRdFRcuKwJhnL iCYXKJw9rZ6R6U7cD/jgVCYcub8IZk6471Q7IOghQdgdwXUhDEPOrIyXNjiiwZ4I78mLwz3s9 oAqCJwTC3/VTZjpOqFWTYLy3VNZ6Y82G6y2UafEWa/IUyEMHwdJ4TgXItYMfQvcp66JaOzgm3 5+lBLeadis/NILNz2M5R7SnsUR0r2jjhtqEzp2dT5G6baCDJQ77/XFm22hgJ0CBeY2gnZRLXt 0lnfNrKT/sHlnYYYxhyrryslQPITTiDl5HAO/RRdbtv/rnx1t0z8BRn3VgBntVqIWrqpjm5nc 6zBV/gznWtDrCc+Ma9yUqwL2fQQwjSkRLTHcJF0Ait/NJx6JQOuQ3MCVTfG8JGvNLNA260ZA7 7YqMgIswMXnmkfZDurVuLhGhIW+HodhV/R8SStXsn7VJEKjkA04LMSQJu44of4VHztzP28Qgf 3mW2FpGl+DFCYnEszMw0gc7CXFHMN7ZPOlrO/gzjR2uul+8K47Ta2Ql6iEs+/oeeLNMdk8Ye Received-SPF: pass client-ip=212.227.17.12; envelope-from=alexanderm@web.de; helo=mout.web.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/15 14:43:53 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:250413 Archived-At: 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?