Source Code
Editor's Note
Looking for C/C++ Users Journal and Windows Developer Network archives by issue?
cloud.txt
Published source code accompanying the article by Dana Moore and John Hebeler in which examine how you can you can create cloud applications through Amazon Web Services and the Google Application Engine. - Web Development
Associated article: Computing In the Clouds
Tags: Web Development Cloud Tools Open Source Parallel
video.txt
Published source code accompanying the article by Greg Williams in which he shows how you can take advantage of unstructured data in the database -- video, in this case -- and access this data from Oracle Forms. - Database
Associated article: Videos and Oracle Forms 10g
Tags: Database Web Development Tools Parallel JVM Languages
c_header.txt
Published source code accompanying the article by R. Samuel Klatchko in which he examines unnecessary coupling. One issue with the common C compilation model is that it can easily lead to unnecessary coupling between files. But decoupling those files isn't necessarily easy either. - C/C++
Associated article: Decoupling C Header Files
Tags: C/C++ Open Source
plinq.txt
Published and unpublished source code accompanying the article by Paul Kimmel in which he examines Parallal LINQ, which is part of the Parallel FX extensions for .NET. PLINQ lets you use basic LINQ keywords to tap into the extra power that multicore systems provide. - .NET
Associated article: Parallel LINQ
Tags: Parallel .NET
lock_d.txt
Published source code accompanying the article by Bartosz Milewski in which he examines the two major problems in concurrent programs -- data races and deadlocks. The solutions that Bartosz presents in the D language is based on a deadlock-avoidance protocol. Also see LOCK_D.ZIP. - C/C++
Associated article: Lock Options
Tags: C/C++ Parallel Design
doorssdk.txt
Published source code accompanying the article by Walter O. Krawec in which he presents the DOORS OS, an operating system designed to run on the HC11. Also see DOORSSDK.ZIP. - Embedded Systems
Associated article: The DOORS OS
Tags: Embedded Systems
dotnetlx.txt
Published source code accompanying the article by Eric Bergman-Terrell in which he finds out that a VM and Mono comes in handy when creating C# .NET programs. In addition to Linux, Mono lets you develop and run .NET client and server applications on Solaris, Mac OS X, Windows, and UNIX. Also see DOTNETLX.ZIP. Also see UbuntuDotNetDevVM.ZIP. - .NET
Associated article: .NET Development on Linux
Tags: .NET Tools Open Source Design
iPhone_App_Install_Guide.pdf
- Mobile
Associated article: The iPhone Application Builder
Tags: Tools Mobile
advmutex.c
Published source code accompanying the article by Sergey Babkin in which he presents Advanced Mutex, a parallel programming pattern. - Parallel
Associated article: File Descriptors And Multithreaded Programs
Tags: C/C++ Tools Parallel Design
java_rmi.txt
Published source code accompanying the article by Oliver Haase, Jurgen Wasch, and Bo Zhao in which they present a custom registry that objects can register with remotely. Also see RMI.ZIP. - JVM Languages
Associated article: A Remote Java RMI Registry
Tags: Tools JVM Languages Design
Best of the Web
What the New iPad and iOS 5.1 Mean for Developers
The new display is gorgeous. But local storage for HMTL5 is currently broken on the new iPad and performance of some apps is slower. Here's a deep dive into the issues, including benchmarks and analysis.
Triple Buffering as A Concurrency Mechanism
Triple Buffering is a way of passing data between a producer and a consumer running at different rates. It ensures that the consumer sees only complete data with minimal lag.
Embedding GDB Breakpoints in C Source Code
Have you ever wanted to embed GDB breakpoints in C source code? Something like this:
printf("Hello,\n");
EMBED_BREAKPOINT;
printf("world!\n");
Writing Kernel Exploits
Why attack the kernel? Because it has a huge attack surface with potential for very interesting bugs. This presentation (pdf) takes a code-level dive into recently reported Linux-kernel exploits.


