Arbitrary Size Integer Arrays

dsimcha dsimcha at yahoo.com
Mon Sep 21 13:50:14 PDT 2009


== Quote from bearophile (bearophileHUGS at lycos.com)'s article
> dsimcha:
> > I'm thinking it might be useful to have a library type that allows for
> > arbitrary size integers <= 64 bits (128 if ucent is ever implemented) to be
> > packed into an array.
> I think LLVM is already able to represent and operate on such numbers (but I
don't know how/if they can be packed, maybe not).
> Eventually I hope to see LDC start using some of the many nice features of that
nice back-end.
> Bye,
> bearophile

Yes, but:

1.  Packing them is the whole point.
2.  This should be a library type.  It's waaaay too niche to be a builtin, and if
it were a compiler intrinsic that was specific to a backend, it wouldn't be
portable so noone would use it.



More information about the Digitalmars-d mailing list