From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Emanuele Santoro Newsgroups: gmane.emacs.devel Subject: Re: Using the GNU GMP Library for Bignums in Emacs Date: Tue, 24 Apr 2018 20:56:04 +0200 Message-ID: <01c96032-9417-7d05-d6b8-0232a4360ff7@santoro.tk> References: <29f933ac-a6bf-8742-66a7-0a9d6d3e5a88@disroot.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1524599505 19693 195.159.176.226 (24 Apr 2018 19:51:45 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 24 Apr 2018 19:51:45 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 24 21:51:41 2018 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 1fB3yU-0004zz-AE for ged-emacs-devel@m.gmane.org; Tue, 24 Apr 2018 21:51:38 +0200 Original-Received: from localhost ([::1]:60592 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fB40b-00051I-8W for ged-emacs-devel@m.gmane.org; Tue, 24 Apr 2018 15:53:49 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59297) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fB3fY-0004If-Gq for emacs-devel@gnu.org; Tue, 24 Apr 2018 15:32:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fB3fV-0007IC-6X for emacs-devel@gnu.org; Tue, 24 Apr 2018 15:32:04 -0400 Original-Received: from 93-50-112-244.ip152.fastwebnet.it ([93.50.112.244]:52820 helo=elena.santoro.tk) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fB3fU-0007H3-Vm for emacs-devel@gnu.org; Tue, 24 Apr 2018 15:32:01 -0400 Original-Received: from [192.168.1.133] (93-50-112-244.ip152.fastwebnet.it [93.50.112.244]) by elena.santoro.tk (Postfix) with ESMTPSA id E839B160084 for ; Tue, 24 Apr 2018 20:45:34 +0200 (CEST) In-Reply-To: <29f933ac-a6bf-8742-66a7-0a9d6d3e5a88@disroot.org> Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 93.50.112.244 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:224839 Archived-At: On 21/04/2018 16:15, Siraphob (Ben) Phipathananunth wrote: > What is the consensus on linking the GNU GMP library to Emacs so that > packages such as Emacs Calc (and others) could benefit from using > native types (i.e. "mpz_t") rather than reinventing the wheel? My two cents: this should be added as optional feature and its presence, if wanted/needed, should be enabled at compilation time. Maybe in a few years we could see if it has been widely adopted and if so make GNU GMP usage the default setting (and/or discard the old implementation). This should allow a smoother transition. Hope this helps, --=20 Emanuele Santoro