Channels ▼

Blogs

September 19, 2014

Using a Loop Invariant to Help Think About a Program

Last week, I talked about how to write a loop invariant. I would like to continue this discussion by paraphrasing a beautifully elegant example that Dijkstra used in A Discipline of Programming.

September 18, 2014

At Your (Android) Service

To the user, the alien program just happens to contain a screen that looks just like yours.

September 17, 2014

Setting Up a Test Environment for C++14

A little clever work and I was able to quickly set up a test machine with everything I needed on Ubuntu running in a Microsoft Azure VM.




Parallel Source Code

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    



lockfree.txt

July 01, 2008

Published source code accompanying the article by Petru Marginean in which he presents a lock-free queue where one thread can write to the queue and another read from it--at the same time without any locking. Also see LOCKFREE.ZIP. - Parallel

Associated article: Lock-Free Queues

Tags: C/C++     Parallel    



critical.txt

October 10, 2007

Published source code in the article by Herb Sutter in which he examines critical code sections for guaranteeing mutual exclusion on shared variables. - Parallel

Associated article: Apply Critical Sections Consistently

Tags: Design     JVM Languages     .NET     Open Source     Parallel     C/C++    



winlinx.txt

October 10, 2007

Published source code accompanying the article by Mohamed Abo El-Fotouh which describes a distributed system in which a single Windows machine controls a Linux cluster. - Parallel

Associated article: Distributed Computing: Windows and Linux

Tags: Security     Parallel     Design    



julia.zip

June 08, 2007

- Parallel

Associated article: RapidMind: C++ Meets Multicore

Tags: C/C++     Open Source     Parallel     Embedded Systems     Design    



optmulti.txt

May 07, 2007

Published source code accompanying the article by Edwin Verplanke in which he examines performance optimization techniques for multicore processors. Also see OPTMULTI.ZIP. - Parallel

Associated article: Optimizing Software for Multicore Processors

Tags: .NET     C/C++     Parallel     Embedded Systems     JVM Languages     Design    



cell.txt

March 09, 2007

Published source code accompanying the article by Daniele Paolo Scarpazza, Oreste Villa, and Fabrizio Petrini which presents algorithms and strategies they've used to make breadth-first search on graphs as fast as possible on the Cell multi-core processor. Also see CELL.ZIP. - Parallel

Associated article: Programming the Cell Processor

Tags: C/C++     Parallel     Embedded Systems    



ant.zip

August 03, 2006

Unpublished source code accompanying the article by by Andrew Colin in which he unravels Ant Colony optimizers which can be used to simulate routing problems when network topologies change over time. Requires UNZIP/PKUNZIP to extract. - Parallel

Associated article: Ant Colony Algorithms

Tags: C/C++     Parallel     Design    



rtvideo.txt

March 01, 2006

Published source code accompanying the article by Karen McMenemy and Stuart Ferguson in which they examine real-time virtual reality by showing you how to use DirectX and OpenGL. Also see RTVIDEO.ZIP. - Parallel

Associated article: Real-Time Stereoscopic Video Streaming

Tags: .NET     Parallel    



macosx64.txt

February 01, 2006

Published source code accompanying the article by Rodney Mach in which he address issues involved in porting 32-bit Macintosh applications to 64-bits. Also see MACOSX64.ZIP. - Parallel

Associated article: Mac OS X Tiger & 64 Bits

Tags: Open Source     Parallel    





Video