关于boost和ACE线程库的比较
来源:互联网 发布:ummy mac 编辑:程序博客网 时间:2024/06/04 18:17
在网上看到一个评论,说的蛮中肯的。
http://stackoverflow.com/questions/474840/boost-vs-ace-c-cross-platform-performance-comparison
节选几位老兄的评论:
Do yourself a favor and steer clear of ACE. It's a horrible, horrible library that should never have been written, if you ask me. I've worked (or rather HAD to work with it) for 3 years and I tell you it's a poorly designed, poorly documented, poorly implemented piece of junk using archaic C++ and built on completely brain-dead design decisions ... calling ACE "C with classes" is actually doing it a favor. If you look into the internal implementations of some of its constructs you'll often have a hard time suppressing your gag reflex. Also, I can't stress the "poor documentation" aspect enough. Usually, ACE's notion of documenting a function consists of simply printing the function's signature. As to the meaning of its arguments, its return value and its general behavior, well you're usually left to figure that out on your own. I'm sick and tired of having to guess which exceptions a function may throw, which return value denotes success, which arguments I have to pass to make the function do what I need it to do or whether a function / class is thread-safe or not.
Boost on the other hand, is simple to use, modern C++, extremely well documented, and it just WORKS! Boost is the way to go, down with ACE!
I've used ACE for numerous heavy duty production servers. It never failed me. It is rock solid and do the work for many years now. Tried to learn BOOST's ASIO network framework-Couldn't get the hang of it. While BOOST is more "modern" C++, it also harder to use for non trivial tasks - and without a "modern" C++ experience and deep STL knowledge it is difficult to use correctly
- 关于boost和ACE线程库的比较
- Boost.Asio和ACE之间关于Socket编程的比较
- Boost.Asio和ACE之间关于Socket编程的比较
- Boost.Asio和ACE之间关于Socket编程的比较
- Boost.Asio和ACE之间关于Socket编程的比较
- Boost.Asio和ACE之间关于Socket编程的比较
- Boost.Asio和ACE之间关于Socket编程的比较
- Boost.Asio和ACE之间关于Socket编程的比较
- Boost.Asio和ACE之间关于Socket编程的比较
- Boost.Asio和ACE之间关于Socket编程的比较
- 【兴趣爱好】之:Boost.Asio和ACE之间关于Socket编程的比较
- Boost.Asio,libevent和ACE之间关于Socket编程的比较(★firecat推荐★)
- 开源C/C++网络库比较:ACE、livevent和Boost
- 转帖两篇关于ACE和boost::asio的文章
- 转帖两篇关于ACE和boost::asio的文章
- Qt、ACE、Boost等C++著名程序库的比较和学习经验
- Qt、ACE、Boost等C++著名程序库的比较和学习经验
- Qt、ACE、Boost等C++著名程序库的比较和学习经验
- FL2440在linux平台下minicom的使用 串口收发文件
- 使用资源文件应该注意的地方
- 1321. Robot
- 地形格子如果用triangle strip的话,顶点索引的设置方法 分享
- 如何与人交往
- 关于boost和ACE线程库的比较
- 如何得到幸福?很简单
- RAC 卸载 说明
- Write some thing down
- Hibernate高级实体关联映射之单值的实体关联(共享的主键关联)
- 关于面向对象设计的一些思考
- IIS自建网站
- 让tabcontrol控件的某个选项卡不可用
- Hibernate高级实体关联映射之单值的实体关联(一对一的外键关联)