《ACE程序员指南》勘误和评述

ACE程序员指南》勘误和评述

       这本书应该是国内在这个方面的权威翻译的——马维达,所以书中的错误还是很少的。怎么说呢,估计作者太忠实于原文,我又比较喜欢设计层的东西,所以有些东西我觉得写的不是很好,不过我在这里还是要谢谢他。怎么说这本书对我来说很有实用价值。

下面说说我觉得不好的地方,不一定是错误。

P9   代码示例中:不需要使用this的时候引入,增加了难看的代码,绝大多数情况下是不需要的,后面也都有这个风格,估计是ACE约定俗成的了。模板成员函数的定义语法好像不对吧,应该不是那么定义的,不知道是不是这个也是有实现不一样?

 

P38  代码风格不好,没用初始化列表

 

P77  C++语言不直接支持数组  这个好像是个错误吧

 

P84  这个特化中r1==r2还是需要,虽然有int()操作符作类型转换,但好像模糊

 

P158       解除登记impl->get_handle()应为proactor.get_handle()

 

P159       “和”字和“或”字没区别开

 

P191       ACE_Sig_Guard好像把有效域写错了

 

P237       shut_down的解释错误

 

P294       }也没有拷贝部分

 

失望的是有一个定时器队列,我本来想自己去实现一个通用的,没想到ACE早做好了,看来碰到不爽的不是只有我一个人

 

高兴的是ACE_Naming_Service对我很有用,呵呵!

bykangtian0

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
ACE程序员指南 [ Team LiB ] • Table of Contents ACE Programmer's Guide, The: Practical Design Patterns for Network and Systems Programming By Stephen D. Huston, James CE Johnson, Umar Syyid Publisher : Addison Wesley Pub Date : November 14, 2003 ISBN : 0-201-69971-0 Pages : 544 "If you're designing software and systems that must be portable, flexible, extensible, predictable, reliable, and affordable, this book and the ACE toolkit will enable you to be more effective in all of these areas. Even after spending over a decade developing ACE and using it to build networked software applications, I find that I've learned a great deal from this book, and I'm confident that you will, too." -Douglas C. Schmidt, Inventor of ACE, from the Foreword "This book is a must-have for every ACE programmer. For the beginner, it explains step-by-step how to start using ACE. For the more experienced programmer, it explains in detail the features used daily, and is a perfect reference manual. It would have saved me a lot of time if this book had been available some years ago"! -Johnny Willemsen, Senior Software Engineer, Remedy IT, The Netherlands "With a large C++ code base, we rely on ACE to enable a cross-platform client-server framework for data quality and data integration. ACE has improved our design and smoothed over OS idiosyncrasies without sacrificing performance or flexibility. The combination of online reference materials and printed "big picture" guides is indispensable for us, and The ACE Programmer's Guide earns top-shelf status in my office." -John Lilley, Chief Scientist, DataLever Corporation "In SITA air-ground division, we are one of the major suppliers of communication services to the airline industry. We started using ACE about a year ago and are now moving most of our new communication-related development to it. I can say that using this toolkit can reduce the development and testing time by at least 50% in our type of application". -Jean Millo, Senior Architect, SITA The ADAPTIVE Communication Environment (ACE) is an open-source software toolkit created to solve network programming challenges. Written in C++, with the help of 30 core developers and 1,700 contributors, this portable middleware has evolved to encapsulate and augment a wide range of native OS capabilities essential to support performance-driven software systems. The ACE Programmer's Guide is a practical, hands-on guide to ACE for C++ programmers building networked applications and next-generation middleware. The book first introduces ACE to beginners. It then explains how you can tap design patterns, frameworks, and ACE to produce effective, easily maintained software systems with less time and effort. The book features discussions of programming aids, interprocess communication (IPC) issues, process and thread management, shared memory, the ACE Service Configurator framework, timer management classes, the ACE Naming Service, and more. [ Team LiB ]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值