From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Rob Browning Newsgroups: gmane.lisp.guile.devel Subject: Re: Nearly finished (re)integrating GMP for bignums. Date: Wed, 12 Feb 2003 12:57:34 -0600 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <87y94lnx7l.fsf@raven.i.defaultvalue.org> References: <87heb9pjni.fsf@raven.i.defaultvalue.org> <87r8adihxe.fsf@zagadka.ping.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1045077087 21061 80.91.224.249 (12 Feb 2003 19:11:27 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 12 Feb 2003 19:11:27 +0000 (UTC) Cc: Marius Vollmer Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18j25W-0004XW-00 for ; Wed, 12 Feb 2003 19:58:30 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18j26s-0007JS-02 for guile-devel@m.gmane.org; Wed, 12 Feb 2003 13:59:54 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18j267-0006T3-00 for guile-devel@gnu.org; Wed, 12 Feb 2003 13:59:07 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18j24o-0005ff-00 for guile-devel@gnu.org; Wed, 12 Feb 2003 13:57:47 -0500 Original-Received: from dsl093-098-016.wdc1.dsl.speakeasy.net ([66.93.98.16] helo=defaultvalue.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18j24i-0005YS-00 for guile-devel@gnu.org; Wed, 12 Feb 2003 13:57:40 -0500 Original-Received: from raven.i.defaultvalue.org (raven.i.defaultvalue.org [192.168.1.7]) by defaultvalue.org (Postfix) with ESMTP id ADF236C3E; Wed, 12 Feb 2003 12:57:34 -0600 (CST) Original-Received: by raven.i.defaultvalue.org (Postfix, from userid 1000) id BD19FB9E8E; Wed, 12 Feb 2003 12:57:34 -0600 (CST) Original-To: djurfeldt@nada.kth.se In-Reply-To: (Mikael Djurfeldt's message of "Wed, 12 Feb 2003 18:34:59 +0100") User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-pc-linux-gnu) Original-cc: guile-devel@gnu.org X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Developers list for Guile, the GNU extensibility library List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:1920 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:1920 Mikael Djurfeldt writes: > 2. What do you mean by a "good" RNG? I'd say it is good if it is > fast. Our generator is fast. I wonder how fast the GMP RNGs are (I currently have no idea). > Ideally, the bignum code would use the pluggable source of random > bits in random.c and the GMP generators would be provided as > optional plugins for random.c. Rob, is this possible? I'm not sure yet -- what I was considering was if (in the short term) I can just replace the one BIGNUM based chunk of code in there with calls to manipulate GMPs (or just calls to scm_i_big* functions). At the very least, the code has to be changed so that it doesn't try to manipulate BIGDIG stuff directly anymore since all the implementation specific stuff is gone. -- Rob Browning rlb @defaultvalue.org, @linuxdevel.com, and @debian.org Previously @cs.utexas.edu GPG starting 2002-11-03 = 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4 _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel