|
Welcome to the June 2007 edition of Riverace's ACE News and Tips
newsletter. This issue contains an advance look at some of the
things coming in ACE 5.6 later this summer as well as information on
our new ACE platform sponsorship opportunities.
If, after reading this issue, you'd like to get some new feature
into ACE, please let us know! Also be sure to forward this note to
other people you work with to be sure they get their input
registered as well!
| What's Coming in ACE 5.6? (part 5, new ACE_Log_Msg
formatting) |
 |
|
This issue continues our look at what's coming up in
the ACE 5.6 release. The February
, March,
April,
and May
newsletters also contained articles in this series looking at
what's coming in the next ACE release, ACE 5.6. If you're a
new subscriber, please review the previous articles for
information that may affect you.
This article is the fifth in the "What's Coming" series and
we'll continue until ACE 5.6 is released. As with the previous
articles, we note that all user-visible changes to ACE are
described in the ACE_wrappers/NEWS file of each
ACE beta as development progresses. You can review that file
here.
This article describes three new format specifiers for
ACE_Log_Msg message formatting. These new format
specifiers are:
- %B for size_t values
- %b for ssize_t values
- %: for time_t values
If you've been programming with 64-bit platforms (or have
been using Microsoft Visual Studio 2005 aka VC8) you'll
recognize these types as among those that change size
depending on platform. Thus, matching the value to format with
the correct basic integer format specifier is a
platform-specific chore and, thus, prone to error. These new
formatting specifiers help you to write portable logging code
across all platforms.
The new logging format specifiers are important because
size_t and ssize_t values are often
used with I/O operations and I/O operations parameters and
return values are very common data items to include in logging
output. If your code also uses timing values or timeouts, you
may also wish to log time_t values and they can
change sizes across platforms as well. These new formatting
specifiers can help to remove a common source of errors from
your code quickly.
If you want to experiment with this upcoming addition
before ACE 5.6 is released, grab a copy of the latest ACE beta
and try it out! If you get stuck or have questions, our new
Whitewater Level of ACE support can help you get going
quickly.
|
| New ACE Platform Sponsorships Can Get ACE Up
Quicker |
 |
|
Riverace has a new ACE platform sponsorship program
designed to get ACE up and running great on more of today's
new computing platforms at a lower cost to you. This program
helps you get ACE tested on your favorite new platforms and
can save you lots of money in the process.
Before this program, the ACE user community needed to wait
until a single company wanted ACE ported to a new platform
enough to pay the entire cost to port, test, and qualify ACE
on a new platform. Many companies have born the burden for
dozens of ACE ports over the years, and we are all very
thankful for their foresight and investment.
Now, though, there's an even better way to get ACE up and
running on new platforms. Riverace's new ACE platform
sponsorship program can coordinate funding for new platforms
across a number of sponsors, speeding up the porting process,
and lowering the cost to support new ACE platforms. Everyone
wins!
|
|
|
Featured Book: C++ Network Programming, Volume 2
(C++NPv2) |
|
|
|
Now in its fifth printing, C++NPv2 covers the design and
usage of ACE's most commonly used frameworks for networked
application development, including the Reactor, Service
Configurator, Task, Acceptor-Connector, Proactor, and Streams
frameworks. Buy it now from amazon.com...
|
|