API Design for C++. Martin Ry

API Design for C++


API.Design.for.C..pdf
ISBN: 0123850037,9780123850034 | 446 pages | 12 Mb


Download API Design for C++



API Design for C++ Martin Ry
Publisher: Morgan Kaufmann




I've been thinking a lot about APIs and their design recently. Today, I want to give some insight into the new language extensions, officially called C++/CX, which was designed to support the new API model in Windows 8. Public class Customers : Versioned { }. (Click here if you can't see the video.) . Multi-threading and event handling are built into the C++ API. For C++/Java/.NET, provide custom exception classes. Published at Wed, 19 Mar 2008 06:45:43 GMT. Use http://boost.org/ 3) While you're at it - look in Alexandrescu's 'Modern C++ Design' how to write good C++ strings. Last, he talks about how the Coherence team built Java-like memory management for C++ and how they made Coherence 3.4 work on many of the operating systems running on Intel-like processors. I stumbled on When I first started learning C++ (back in the bad old days) I was convinced that any 1st year student could design a better programming language. Compare this to what you can do with C++ mixins, there's a lot more to it than just delegating interface members to other objects. Now we have the same API for the simple (and invasive) scenario, but with minimal effort, we have made it possible to use non invasive and smart approaches. If you are designing a C API, have each function return a success/error code.