{
  "id": "enwiki-001366722857",
  "slug": "raftlib",
  "title": "RaftLib",
  "qid": "",
  "lead": "RaftLib is a portable parallel processing system that aims to provide extreme performance while increasing programmer productivity. It enables a programmer to assemble a massively parallel program (both local and distributed) using simple iostream-like operators. RaftLib handles threading, memory allocation, memory placement, and auto-parallelization of compute kernels. It enables applications to be constructed from chains of compute kernels forming a task and pipeline parallel compute graph. Programs are authored in C++ (although other language bindings are planned).",
  "body": "RaftLib is a portable parallel processing system that aims to provide extreme performance while increasing programmer productivity. It enables a programmer to assemble a massively parallel program (both local and distributed) using simple iostream-like operators. RaftLib handles threading, memory allocation, memory placement, and auto-parallelization of compute kernels. It enables applications to be constructed from chains of compute kernels forming a task and pipeline parallel compute graph. Programs are authored in C++ (although other language bindings are planned). ==Example== Here is a Hello World example for demonstration purposes: import ; import ; import std; using String = std::string; using RaftKernel = raft::kernel; using RaftKernelStatus = raft::kstatus; using RaftMap = raft::map; using RaftPrint = raft::print; class HelloWorld : public RaftKernel { public: HelloWorld() { output.addPort (\"0\"); } virtual RaftKernelStatus run() { output[\"0\"].push(\"Hello World\\n\"); return raft::stop; } }; int main(int argc, char* argv[]) { // instantiate print kernel RaftPrint p; // instantiate hello world kernel HelloWorld hello; // make a map object RaftMap m; // add kernels to map, both hello and p are executed concurrently m += hello >> p; // execute the map m.exe(); return 0; } ==References== ==External links== CPPNow RaftLib Tutorial Session Parallel BZip2 Implementation Using RaftLib",
  "categories": [
    "23400998",
    "35755158"
  ],
  "license": "CC BY-SA 4.0",
  "source_uri": "https://en.wikipedia.org/w/index.php?oldid=1366722857",
  "content_hash": "",
  "created_at": null,
  "updated_at": 1785348391.0,
  "claims": [],
  "contradictions": [],
  "confidence": 0.6,
  "csl": {
    "id": "enwiki-001366722857",
    "type": "webpage",
    "title": "RaftLib",
    "author": [
      {
        "family": "Anticloud FZ LLE",
        "literal": "Anticloud FZ LLE"
      }
    ],
    "container-title": "encyclopegia.org",
    "publisher": "Anticloud FZ LLE",
    "publisher-place": "Dubai, United Arab Emirates",
    "URL": "https://encyclopegia.org/a/raftlib",
    "issued": {
      "date-parts": [
        [
          2026,
          11,
          20
        ]
      ]
    },
    "accessed": {
      "date-parts": [
        [
          2026,
          11,
          20
        ]
      ]
    },
    "license": "CC BY-SA 4.0",
    "DOI": "eo1:enwiki-001366722857",
    "isBasedOn": "https://en.wikipedia.org/w/index.php?oldid=1366722857",
    "note": "Immutable snapshot enwiki-001366722857"
  }
}