Boost logo

Boost :

Subject: Re: [boost] [xint] Third release is ready, requesting preliminary review
From: Vladimir Prus (ghost_at_[hidden])
Date: 2010-05-02 02:49:09


Chad Nelson wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 05/01/2010 01:09 PM, vicente.botet wrote:
>
>>>> Couldn't you add a template parameter stating the thread model?
>>>> This parameter can be by default single_threaded, and the user
>>>> can set it also to multi_threaded. In this way you let the user
>>>> of each xint::integer to decide if the library must ensure thread
>>>> safety or not.
>>> That would solve the speed problem, but the dependency problem
>>> would remain -- the library would have to use Boost.Move and
>>> Boost.Thread always. (See the previous message in this thread for
>>> my reasons why that isn't desirable.)
>> I don't think the dependency is a problem.
>
> If I were using a library, I'd prefer that it didn't have an unnecessary
> dependency on another library that would require me to add that other
> library to my build system (which, at least under Linux, would be
> necessary),

Could you clarify? On Linux, the official way is the shared linking,
and therefore the client does not need to care what dependencies libxint.so
might have -- they will be picked up automatically.

- Volodya


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk