开发者

C++ library comparison: Boost and Tr1

Which is more robust? Coz I read Linus Torvalds 's article about how 开发者_StackOverflowbad is boost. Is that tr1 is better than boost?


TR1 is a set of libraries that were proposed additions to the C++ Standard Library. Most of them originated in Boost and most of them are now included in the latest C++0x draft standard.

There are some differences between different versions of the Boost implementations of the libraries, the TR1 specification of the libraries, and the latest C++0x specification, but the fundamentals are largely the same.

Linus Torvalds vocally hates C++ as a whole and his ranting about C++ should not be taken seriously. The Boost libraries are extraordinarily useful.


Your question doesn't make much sense, since Boost includes the TR1 additions, which in turn are mostly based on libraries that were born in Boost itself (the Boost implementation of TR1 can be seen somehow as an "informal reference implementation"); thus, I wouldn't know how to say "which is better", since it's all mostly the same.

By the way, I wouldn't listen too much to Linus Torvalds about these facts, he is quite biased against C++ in general, and almost anything he writes about it degenerates in generic rant.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜