From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: bignum support + calc + GNU Emacs Date: Mon, 21 May 2007 09:32:30 -0400 Message-ID: References: <18000.42749.988254.341456@gargle.gargle.HOWL> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1179754363 19545 80.91.229.12 (21 May 2007 13:32:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 21 May 2007 13:32:43 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Jose E. Marchesi" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 21 15:32:41 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Hq808-00024i-MK for ged-emacs-devel@m.gmane.org; Mon, 21 May 2007 15:32:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hq808-0000F4-57 for ged-emacs-devel@m.gmane.org; Mon, 21 May 2007 09:32:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hq804-0000Ew-Ur for emacs-devel@gnu.org; Mon, 21 May 2007 09:32:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hq804-0000Eg-0O for emacs-devel@gnu.org; Mon, 21 May 2007 09:32:36 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hq803-0000Ed-SY for emacs-devel@gnu.org; Mon, 21 May 2007 09:32:35 -0400 Original-Received: from 191.red-83-44-183.dynamicip.rima-tde.net ([83.44.183.191] helo=alfajor.home) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Hq801-0006lJ-Ub; Mon, 21 May 2007 09:32:35 -0400 Original-Received: by alfajor.home (Postfix, from userid 20848) id 229311C658; Mon, 21 May 2007 09:32:30 -0400 (EDT) In-Reply-To: <18000.42749.988254.341456@gargle.gargle.HOWL> (Jose E. Marchesi's message of "Sun\, 20 May 2007 21\:52\:29 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-detected-kernel: Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:71507 Archived-At: > In order to generate the uuids the program should manipulate 60-bit > unsigned integers. The question is, for a program/library supposed to > work in GNU Emacs, would it be considered good practice to use > (require) calc's lisp implementation of bignums, considering uuid.el > is intended to be a quite generic library? It sounds OK to me. > I think would be quite good to have some "standarized" way to use > bignum/bigfloats in Emacs. I like the calc way to manage the issue in > pure lisp, but to make the garbage collector to work with libgmp would > be great too (i think XEmacs already has support for libgmp). Gerd Moellman had written some preliminary code to add libgmp support to Emacs, but it didn't generate much discussion or interest. You can take a look at the "gerd_big" branch in CVS (or is it the "gerd_int" branch, maybe?). Stefan