From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: Concurrency has landed Date: Sat, 10 Dec 2016 11:22:18 -0800 Organization: UCLA Computer Science Department Message-ID: <0bcf38b7-0893-a300-39c3-32da985c5717@cs.ucla.edu> References: <83oa0lgnzx.fsf@gnu.org> <83inqrfzzp.fsf@gnu.org> <83a8c3fxru.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1481397793 4526 195.159.176.226 (10 Dec 2016 19:23:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 10 Dec 2016 19:23:13 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 10 20:23:10 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cFnEj-0000Vp-T7 for ged-emacs-devel@m.gmane.org; Sat, 10 Dec 2016 20:23:10 +0100 Original-Received: from localhost ([::1]:52836 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cFnEo-0006Dc-2C for ged-emacs-devel@m.gmane.org; Sat, 10 Dec 2016 14:23:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38163) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cFnED-0006DM-Db for emacs-devel@gnu.org; Sat, 10 Dec 2016 14:22:38 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cFnE9-0001dO-7U for emacs-devel@gnu.org; Sat, 10 Dec 2016 14:22:34 -0500 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:48110) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cFnE5-0001ci-B1; Sat, 10 Dec 2016 14:22:29 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id AE76E160177; Sat, 10 Dec 2016 11:22:25 -0800 (PST) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id IevTbihyePXk; Sat, 10 Dec 2016 11:22:21 -0800 (PST) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id AAFFE1601CB; Sat, 10 Dec 2016 11:22:21 -0800 (PST) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id mxWvq63LOdlO; Sat, 10 Dec 2016 11:22:21 -0800 (PST) Original-Received: from [192.168.1.9] (unknown [47.153.178.162]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 8E6EF160177; Sat, 10 Dec 2016 11:22:21 -0800 (PST) In-Reply-To: <83a8c3fxru.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 131.179.128.68 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:210250 Archived-At: Eli Zaretskii wrote: > At the time, this conclusion made perfect sense to me. However, in > hindsight, I can no longer convince myself the removal was justified. > So if you find that the byte stack can still be removed without > breaking the concurrency feature, feel free to do so I'll look into it at some point if I find the time. If memory serves I removed the byte stack not only for performance reason= s, but=20 also because the byte stack implementation relies on using pointers to fr= eed=20 storage, which violates the C standard. Although we've been lucky that th= is=20 works on Emacs platforms so far, our luck will run out once we get Emacs = to work=20 with gcc -fcheck-pointer-bounds.