From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: Making --with-wide-int the default Date: Fri, 16 Oct 2015 01:49:56 -0700 Organization: UCLA Computer Science Department Message-ID: <5620BA34.1040600@cs.ucla.edu> References: <83h9unukbg.fsf@gnu.org> <54E0DEF8.7020901@dancol> <83egpruiyp.fsf@gnu.org> <54E0FF93.2000104@dancol.org> <5610ED13.1010406@dancol.org> <56117F37.9060808@dancol.org> <83oag087gs.fsf@gnu.org> <83oafz70im.fsf@gnu.org> <5620AF43.4050401@cs.ucla.edu> <8737xbusz1.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1444985654 4168 80.91.229.3 (16 Oct 2015 08:54:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 16 Oct 2015 08:54:14 +0000 (UTC) Cc: Juanma Barranquero , Eli Zaretskii , emacs-devel@gnu.org To: David Kastrup Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 16 10:54:06 2015 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 1Zn0m4-0005Oq-Bk for ged-emacs-devel@m.gmane.org; Fri, 16 Oct 2015 10:54:04 +0200 Original-Received: from localhost ([::1]:51777 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zn0m3-0000p0-OI for ged-emacs-devel@m.gmane.org; Fri, 16 Oct 2015 04:54:03 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49841) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zn0iI-0003DO-Rw for emacs-devel@gnu.org; Fri, 16 Oct 2015 04:50:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zn0iF-0006nh-Hv for emacs-devel@gnu.org; Fri, 16 Oct 2015 04:50:10 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:39510) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zn0i6-0006e6-B4; Fri, 16 Oct 2015 04:49:58 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 83C38160D7D; Fri, 16 Oct 2015 01:49:57 -0700 (PDT) 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 hIVddQn1nSwg; Fri, 16 Oct 2015 01:49:56 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id CF885160D6B; Fri, 16 Oct 2015 01:49:56 -0700 (PDT) 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 uoWym4R8ksgS; Fri, 16 Oct 2015 01:49:56 -0700 (PDT) Original-Received: from [192.168.1.9] (pool-100-32-155-148.lsanca.fios.verizon.net [100.32.155.148]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id ADD28160CB6; Fri, 16 Oct 2015 01:49:56 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 In-Reply-To: <8737xbusz1.fsf@fencepost.gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 131.179.128.68 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:191725 Archived-At: David Kastrup wrote: > Instead of going to 64-bit unilaterally it would seem to make more sense > to me to degrade gracefully into gmp. GUILE does that, I think that > XEmacs or SXEmacs can do it, and it's usual for Lisp implementations. In my spare time I've been working on something along those lines, but it's not at all ready for prime time. Some Emacs code assumes that integer overflow silently wraps around, and another common assumption is that integers are = if and only if they are eq. Bignums violate both assumptions.