Skip to content

Instantly share code, notes, and snippets.

View dejlek's full-sized avatar

Dejan Lekic dejlek

View GitHub Profile
@dejlek
dejlek / paradag01.d
Created October 25, 2013 11:02
From SO...
// Code taken from the following SO thread:
// http://stackoverflow.com/questions/19528562/need-help-parallel-traversing-a-dag-in-d
import std.stdio;
import std.conv;
import std.parallelism;
class Node {
string name;
Node[] clients;