Microsoft Visual Studio 2012 Reviewed
The new IDE from Microsoft is a must-have tool for Windows 8 development. For developers working on current platforms, it has many attractive new features but you'll have to abide its peculiar UI
View ArticlePadding and Rearranging Structure Members
Exploring memory alignment and the use of padding in structures in C/C++
View ArticleHandling Errors in iOS and OS X with Cocoa
Cocoa provides two classes for smooth handling of errors: NSError and NSResponder, which allow programs to dispatch an error object and respond to it from key points in the application. Only by knowing...
View ArticleComponent Programming in D
Composability or the ability to write highly reusable software using a data source → algorithm → data sink model is a feature that depends heavily on language support. New facilities in D now make this...
View ArticleParallel In-Place Merge
Merging sorted arrays in parallel and in place can be done very efficiently, using this algorithm. Comparisons with the performance of similar STL functions are included.
View ArticleDiscriminated Unions
Unions that depend on a separate field to determine access to members can be useful in some applications but they require careful use.
View ArticleDeveloper's Reading List
New books on C++11, parallel programming, CoffeeScript, requirements, and more.
View ArticleCreating and Using Libraries with OpenACC
How to write reusable methods (libraries, subroutines, and functions) that can transparently call optimized CPU and GPU libraries using OpenACC pragmas.
View ArticleMalicious Work with the modify-function-return-value Hack
The modify-function-return-value hack is particularly dangerous because it can be used to intercept function calls in code, user libraries, and in runtime libraries. Knowing how it operates is...
View ArticleStorage Layout of Polymorphic Objects
Adding at least one virtual function to a class alters the storage layout for all objects of that class type.
View ArticleIntroduction to CUDA C/C++
Nvidia's Mark Ebersole introduces core concepts of heterogeneous computing concepts with CUDA C/C++ in this 30 minute tutorial.
View ArticleWriting Your First Windows 8 App: The Lay of the Land
A lot of the basic features of Windows apps have changed with the release of Win 8. Here is a step-by-step explanation of what's new and how to get started writing Win8-compliant apps.
View ArticleThe Scourge of Error Handling
Return values and exceptions are both inadequate tools for handling errors. But we're stuck with them for the foreseeable future just as we have been for decades.
View ArticleHeterogeneous Programming
AMD's Ben Sander shares details about the heterogeneous system architecture (HSA) and how it will change the way people program in the future.
View ArticleCustomizing the Appearance of Windows 8 Apps
Appearance is managed by images and XML files spread throughout the app. Here's how to figure where each asset goes and how to marshal them together to give Win8 apps a finished look
View ArticleIntroduction to OpenCL [video]
Ben Gaster from AMD Research talks about the design and use of the language OpenCL, which has been embraced by Apple, Intel, and Nvidia among other companies, to accelerate programs.
View ArticleAccess Data with REST in Windows 8 Apps
Develop and consume a REST service that provides data to a Windows Store app that uses the Grid app using C# and XAML.
View ArticleCUDA vs. Phi: Phi Programming for CUDA Developers
Both CUDA and Phi coprocessors provide high degrees of parallelism that can deliver excellent application performance. For the most part, CUDA programmers with existing application code have already...
View ArticleInitializing Derived Polymorphic Objects
Each class in a hierarchy of polymorphic objects should have a function that initializes its vptr properly.
View Article