From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Tromey Newsgroups: gmane.emacs.devel Subject: Re: Note on 109327 Date: Tue, 31 Jul 2012 07:33:26 -0600 Message-ID: <877gtk12e1.fsf@fleche.redhat.com> References: <5017D1D4.2050601@yandex.ru> <5017DCBE.6020606@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1343741628 32616 80.91.229.3 (31 Jul 2012 13:33:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 31 Jul 2012 13:33:48 +0000 (UTC) Cc: Dan Nicolaescu , Emacs development discussions To: Dmitry Antipov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 31 15:33:44 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SwCZz-0002LC-Lh for ged-emacs-devel@m.gmane.org; Tue, 31 Jul 2012 15:33:43 +0200 Original-Received: from localhost ([::1]:45339 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwCZy-0003YI-TO for ged-emacs-devel@m.gmane.org; Tue, 31 Jul 2012 09:33:42 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52349) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwCZw-0003Y1-9H for emacs-devel@gnu.org; Tue, 31 Jul 2012 09:33:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SwCZl-0006Zu-La for emacs-devel@gnu.org; Tue, 31 Jul 2012 09:33:40 -0400 Original-Received: from mx1.redhat.com ([209.132.183.28]:15890) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwCZl-0006Zk-E5; Tue, 31 Jul 2012 09:33:29 -0400 Original-Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q6VDXSsx018026 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 31 Jul 2012 09:33:28 -0400 Original-Received: from barimba (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q6VDXQVk004359 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Tue, 31 Jul 2012 09:33:27 -0400 X-Attribution: Tom In-Reply-To: <5017DCBE.6020606@yandex.ru> (Dmitry Antipov's message of "Tue, 31 Jul 2012 17:25:18 +0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.132.183.28 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:151999 Archived-At: Dmitry> Yes. I'm always thinking about improving internal stuff, GC at first. Dmitry> For me, the main motivation for BVAR, KVAR, FVAR etc. is the ability Dmitry> to catch the moment when the pointer (e.g. Lisp_Object) within buffer, Dmitry> or keyboard, of frame, etc. is read or written, which may be useful Dmitry> to implement write barriers (see, for exmaple, Dmitry> http://www.hoelzle.org/publications/write-barrier.pdf, but do not Dmitry> get confused with http://en.wikipedia.org/wiki/Memory_barrier). I think to do this well you will need separate macros for getting and setting. Tom