DMD 1.035 and 2.019 releases

bearophile bearophileHUGS at lycos.com
Thu Sep 4 00:41:15 PDT 2008


Walter Bright Wrote:
>Bugzilla 2289: Stack overflow on very large BigInt to string.<

Around there are probably 10-20 systems able to compute integer operations efficiently, probably written in C, or C/asm. I have tested the performance of that D2 module and it's not good, Python runs circles around it and uses just a small fraction of the memory it uses, and GMP is something like hundreds times faster.

As in the case of the regex module of the stdlib (that goes O(n*n) in too many situations), this seems a situation where it can be useful to borrow code (in C, probably) from other sources. Time ago people have told me that there are some license issues, so is the only hope to wait for someone to re-invent rounder wheels for D? (I presume Tango has a different regex module, but I don't see people backporting it to Phobos now, so I presume someone else will have to write yet another better regex module for Phobos?).

Bye,
bearophile


More information about the Digitalmars-d-announce mailing list