[Botan-devel] Poll: Using TR1 functionality?

Joel Low joel at joelsplace.sg
Mon May 19 04:37:49 EDT 2008


Hello,

Well I think most compilers on Windows can tackle it - I believe (from observation, nothing more) that most Windows programmers are using VS 2005 if not VS 2008, and I believe 05 should be sufficiently solid enough to tackle the entire Boost library. I think VS 2003 should be able to compile Boost since it's got Partial Template Specialisation support, but VC6 would more or less default to being broken. Is VC6 one of the supported compilers for Botan?

I have tried using Boost::shared_ptr and Boost::function (Boost::bind) in VS 2005, and I even compiled something which required Spirit in VS 05 as well. As for MingW if GCC can do it MingW should not be an issue. I believe they've ported GCC4 already.

Regards,
Joel

> -----Original Message-----
> From: botan-devel-bounces at randombit.net [mailto:botan-devel-
> bounces at randombit.net] On Behalf Of Jack Lloyd
> Sent: Sunday, 18 May, 2008 5:54 AM
> To: Botan Devel List
> Subject: [Botan-devel] Poll: Using TR1 functionality?
> 
> 
> Does anyone have comments for or against the use of TR1 functionality?
> I've been informed that for a German government project several
> extensions/modifications have been made to Botan (including addition
> of ECDSA and several other useful things), which hopefully are going
> to be contributed back into the main tree. One of these is using
> tr1::shared_ptr in places where it is useful.
> 
> I can also think of many cases where function/bind, tuple, hash
> tables, and regex would lead to better (faster, safer, and/or more
> readable) code. The trouble, as always, is implementation
> support. GCCv4 and MSVCv9 seem pretty solid, and probably most other
> compilers can use Boost.TR1, but I don't really know what compilers
> people are using, how against extra dependencies they are, etc.
> 
> Anything I did along these lines would probably go into a branch
> initially and might never actually make it to mainline, but I was
> curious what the general reaction to this was.
> 
> -Jack
> _______________________________________________
> botan-devel mailing list
> botan-devel at randombit.net
> http://lists.randombit.net/mailman/listinfo/botan-devel



More information about the botan-devel mailing list