On 19/09/14 12:40 PM, Matthieu Monrocq wrote: > > > On Fri, Sep 19, 2014 at 6:13 AM, Daniel Micay <danielmi...@gmail.com > <mailto:danielmi...@gmail.com>> wrote: > > On 19/09/14 12:09 AM, Lee Wei Yen wrote: > > Hi all! > > > > I’ve just started learning to use Rust now, and so far it’s been > > everything I wanted in a language. > > > > I saw from the docs that the num::bigint::BigInt type has been > > deprecated - does it have a replacement? > > > > -- > > Lee Wei Yen > > It was moved to https://github.com/rust-lang/num > > There's also https://github.com/thestinger/rust-gmp which binds to GMP. > > GMP has better time complexity for the operations, significantly faster > constant factors (10-20x for some operations) and more functionality. > > It also doesn't have lots of showstopper bugs since it's a mature > library. > > > Disclaimer, for the unwary, GMP is a GPL library; so using it implies > complying with the GPL license.
Not true. It's under the LGPL license and proprietary applications can both dynamically link and statically link against it. The end user needs to be able to replace the library - which is a given with dynamic linking, and can be done with static linking by providing linkable object files rather than a binary (or both). Rust itself relies on plenty of GPL with linking exception / LGPL code like glibc / libgcc / libunwind.
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev