Re: (Repost) Replacement for GMP as Bignum: ARPREC? Haskell?; OS X and OpenSSL

2006-07-30 Thread Bulat Ziganshin
Hello p, Sunday, July 30, 2006, 7:21:07 AM, you wrote: Leroy and even MLton uses GMP. Robert Dockins wrote a type-based library for arbitrary that can (slowly) handle big numbers (up to 10^15), see http://www.eecs.tufts.edu/~rdocki01/typenats.html I don't this don't have anything common

Re: (Repost) Replacement for GMP as Bignum: ARPREC? Haskell?; OS X and OpenSSL

2006-07-30 Thread Esa Ilari Vuokko
Hi On 7/30/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: (Sorry for the repost: I needed to correct a few typos--thanks Seth--and clarify a few things.) GHC Task Ticket # 601 suggests replacing GMP with OpenSSL's Bignum library, BN. I have two questions concerning this: (1) Why not use the

Re: Replacement for GMP as Bignum: ARPREC? Haskell?; OS-X and OpenSSL

2006-07-30 Thread Brian Hulley
[EMAIL PROTECTED] wrote: GHC Task Ticket # 601 suggests replacing GMP with OpenSSL's Bignum library, BN. I have two questions concerning this: From the ticket, this looks very scary: but its LGPL license is problematic for users of GHC (it prohibits static linking of

Re: Replacement for GMP as Bignum: ARPREC? Haskell?; OS-X and OpenSSL

2006-07-30 Thread Esa Ilari Vuokko
On 7/30/06, Brian Hulley [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: GHC Task Ticket # 601 suggests replacing GMP with OpenSSL's Bignum library, BN. I have two questions concerning this: From the ticket, this looks very scary: but its LGPL license is problematic for users of

Re: Replacement for GMP as Bignum: ARPREC? Haskell?; OS-X and OpenSSL

2006-07-30 Thread Duncan Coutts
On Sun, 2006-07-30 at 11:53 +0100, Brian Hulley wrote: [EMAIL PROTECTED] wrote: GHC Task Ticket # 601 suggests replacing GMP with OpenSSL's Bignum library, BN. I have two questions concerning this: From the ticket, this looks very scary: but its LGPL license is problematic for

Re: Replacement for GMP as Bignum: ARPREC? Haskell?; OS-X and OpenSSL

2006-07-30 Thread Brian Hulley
Esa Ilari Vuokko wrote: On 7/30/06, Brian Hulley [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: GHC Task Ticket # 601 suggests replacing GMP with OpenSSL's Bignum library, BN. I have two questions concerning this: From the ticket, this looks very scary: but its LGPL license

Re: Replacement for GMP as Bignum: ARPREC? Haskell?; OS-X and OpenSSL

2006-07-30 Thread Esa Ilari Vuokko
Hi Duncan, On 7/30/06, Duncan Coutts [EMAIL PROTECTED] wrote: GHC only statically links Haskell code. It dynamically links to GMP and the system C library and other C libs. In Windows (mingw) GMP is linked in statically (even this dll-stuff is bitrotted). So you're fine. On unix you can

Re: Replacement for GMP as Bignum: ARPREC? Haskell?; OS-X and OpenSSL

2006-07-30 Thread Esa Ilari Vuokko
Hi Brian, On 7/30/06, Brian Hulley [EMAIL PROTECTED] wrote: Still, a slight problem is that since there is one object file per source file, the names of the object files give quite a lot of information away about the structure of the program especially when they are arranged in a module

Re: Replacement for GMP as Bignum: ARPREC? Haskell?; OS-X and OpenSSL

2006-07-30 Thread Brian Hulley
Esa Ilari Vuokko wrote: Hi Brian, On 7/30/06, Brian Hulley [EMAIL PROTECTED] wrote: Still, a slight problem is that since there is one object file per source file, the names of the object files give quite a lot of information away about the structure of the program especially when they are

Re: Replacement for GMP as Bignum: ARPREC? Haskell?; OS-X and OpenSSL

2006-07-30 Thread Brian Hulley
[EMAIL PROTECTED] wrote: Brian, The standard method of skirting the LGPL restriction and saving your source code is to link dynamically in a separate step and then distribute your program along with the dynamically linked LGPL'd library. Compile with ghc -c (or with ghc -c -odir 'separate

Re: Replacement for GMP as Bignum: ARPREC? Haskell?; OS-X and OpenSSL

2006-07-30 Thread Duncan Coutts
On Sun, 2006-07-30 at 17:33 +0100, Brian Hulley wrote: I think the main problem here is that I'm using Windows, so there is no way to dynamically link with the runtime libraries - the GHC implementations available for Windows only produce statically linked executables. Perhaps Windows

Re: Replacement for GMP as Bignum: ARPREC? Haskell?; OS-X and OpenSSL

2006-07-30 Thread skaller
On Sun, 2006-07-30 at 19:03 +0100, Duncan Coutts wrote: On Sun, 2006-07-30 at 17:33 +0100, Brian Hulley wrote: I think part of the issue is that static linking is very convenient and dynamic linking in this case would lead to some tricky administrative problems. Suppose for a moment that

Re: Replacement for GMP as Bignum: ARPREC? Haskell?; OS-X and OpenSSL

2006-07-30 Thread Duncan Coutts
On Mon, 2006-07-31 at 05:00 +1000, skaller wrote: On Sun, 2006-07-30 at 19:03 +0100, Duncan Coutts wrote: On Sun, 2006-07-30 at 17:33 +0100, Brian Hulley wrote: I think part of the issue is that static linking is very convenient and dynamic linking in this case would lead to some tricky

Replacement for GMP as Bignum: ARPREC? Haskell?; OS-X and OpenSSL

2006-07-29 Thread p . tanski
GHC Task Ticket # 601 suggests replacing GMP with OpenSSL's Bignum library, BN. I have two questions concerning this: (1) Why not use the ARbitrary PRECision Computation Package (ARPREC) by David Bailey, Yozo Hida, Karthik Jeyabalan, Xiaoye Li and Brandon Thompson? Here is a reference web page:

Re: Replacement for GMP as Bignum: ARPREC? Haskell?; OS-X and OpenSSL

2006-07-29 Thread Seth Kurtzberg
On Sat, 29 Jul 2006 21:45:21 -0400 [EMAIL PROTECTED] wrote: GHC Task Ticket # 601 suggests replacing GMP with OpenSSL's Bignum library, BN. I have two questions concerning this: (1) Why not use the ARbitrary PRECision Computation Package (ARPREC) by David Bailey, Yozo Hida, Karthik

(Repost) Replacement for GMP as Bignum: ARPREC? Haskell?; OS X and OpenSSL

2006-07-29 Thread p . tanski
(Sorry for the repost: I needed to correct a few typos--thanks Seth--and clarify a few things.) GHC Task Ticket # 601 suggests replacing GMP with OpenSSL's Bignum library, BN. I have two questions concerning this: (1) Why not use the ARbitrary PRECision Computation Package (ARPREC) by David