Boost logo

Boost :

From: Alexander Terekhov (terekhov_at_[hidden])
Date: 2007-03-26 00:47:47

Peter Dimov wrote:
> So it's not as simple as you think. Oh, N2178 has a pthread C API, therefore
> it must be evil.

You should really add something along the lines of wording regarding
<iohw.h> and <hardware> (C++ performance TR stuff). Quoting "Appendix
C" (


The implementation of the basic <iohw.h> ... interface on top of the
<hardware> interface is mainly straightforward. This section
provides an example of how such an implementation can be achieved.

The purpose of using C++ at the lowest level is to take advantage of
compile-time evaluation of template code to yield object code
specialized for specific hardware. For a good implementation of the
basic templates that perform the lowest-level hardware access
operations, this approach typically leads to code that maps directly
to machine instructions as efficient as code produced by an expert
programmer. Additionally, the type safety of the C++ interface
minimizes debugging and errors.


to N2178. ;-)



Boost list run by bdawes at, gregod at, cpdaniel at, john at