Blogs

May 24, 2012

Why Does C++ Allow Arithmetic on Null Pointers?

My last two notes discussed a subtle language-design issue that simplifies programmers' lives in ways that they often don't suspect. This theme seems useful, so I'll continue it.

May 23, 2012

Let's All Write a Mobile OS!

Intel, Nokia, Microsoft and the endless relaunching of mobile operating systems

May 23, 2012

The Long and Short of Parallelism

Ten years ago, multi-core processors were just on the horizon. Today they are mainstream and have become the impetus for a revolution in computer programming that can make best use of the two, four, six, or eight cores.




Source Code

Editor's Note

Looking for C/C++ Users Journal and Windows Developer Network archives by issue?

C/C++ Users Journal

Windows Developer Network


cloud.txt

February 03, 2009

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

January 12, 2009

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

January 07, 2009

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

January 05, 2009

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

December 03, 2008

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

December 02, 2008

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

December 02, 2008

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

December 02, 2008

- Mobile

Associated article: The iPhone Application Builder

Tags: Tools     Mobile    



advmutex.c

November 07, 2008

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

November 06, 2008

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.

Quick Read

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.

Quick Read

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");

Quick Read

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.

Quick Read


More "Best of the Web" >>



Video

Enabling People and Organizations to Harness the Transformative Power of Technology