pith:W3TQJMP7
Escape from Callback Hell! A New Programming Paradigm for Network Simulation
Coroutine-based discrete event simulation lets developers write network protocols as simple sequential code instead of callback tangles.
arxiv:2605.16897 v1 · 2026-05-16 · cs.NI · cs.PL
Add to your LaTeX paper
\usepackage{pith}
\pithnumber{W3TQJMP7I4PQ4YINRZNV3P6ADW}
Prints a linked badge after your title and injects PDF metadata. Compiles on arXiv. Learn more · Embed verified badge
Record completeness
Claims
We implement a new network simulation framework based on CoDES that is capable of naturally simulating network events and effectively address key system challenges related to correctness, functionality, compatibility, and overhead. ... achieving up to 62.3% and 82.6% reduction in code volume and structure complexity without sacrificing simulation accuracy, extending execution time or increasing runtime memory of simulation.
That coroutines can be integrated into existing discrete event simulators like NS-3 while fully preserving event ordering, timing semantics, and correctness for arbitrary network protocols without introducing hidden overheads or compatibility breaks. This premise is invoked when the abstract states the framework addresses challenges related to correctness and compatibility.
CoDES replaces callback-driven discrete event simulation with coroutines to enable sequential network program workflows, demonstrated by 62.3% code volume and 82.6% structure complexity reductions in NS-3 implementations of MPI, HPCC, and RIP without accuracy or performance loss.
References
Formal links
Receipt and verification
| First computed | 2026-05-20T00:03:28.983060Z |
|---|---|
| Builder | pith-number-builder-2026-05-17-v1 |
| Signature | Pith Ed25519
(pith-v1-2026-05) · public key |
| Schema | pith-number/v1.0 |
Canonical hash
b6e704b1ff471f0e610d8e5b5dbfc01da6ecb12c2504d1a148cc9bf44096dc29
Aliases
· · · · ·Agent API
Verify this Pith Number yourself
curl -sH 'Accept: application/ld+json' https://pith.science/pith/W3TQJMP7I4PQ4YINRZNV3P6ADW \
| jq -c '.canonical_record' \
| python3 -c "import sys,json,hashlib; b=json.dumps(json.loads(sys.stdin.read()), sort_keys=True, separators=(',',':'), ensure_ascii=False).encode(); print(hashlib.sha256(b).hexdigest())"
# expect: b6e704b1ff471f0e610d8e5b5dbfc01da6ecb12c2504d1a148cc9bf44096dc29
Canonical record JSON
{
"metadata": {
"abstract_canon_sha256": "21155606edda4f7ef18b39fca88be4ec3ee32fc27b9cee64b9714ac4b8e9e16b",
"cross_cats_sorted": [
"cs.PL"
],
"license": "http://arxiv.org/licenses/nonexclusive-distrib/1.0/",
"primary_cat": "cs.NI",
"submitted_at": "2026-05-16T09:17:23Z",
"title_canon_sha256": "dfdd2bdf86a480a79ae590402a8cc1e0bbb4ae4b9fb2f4fb79c918d000c5c70d"
},
"schema_version": "1.0",
"source": {
"id": "2605.16897",
"kind": "arxiv",
"version": 1
}
}