pith. sign in
Pith Number

pith:W3TQJMP7

pith:2026:W3TQJMP7I4PQ4YINRZNV3P6ADW
not attested not anchored not stored refs resolved

Escape from Callback Hell! A New Programming Paradigm for Network Simulation

Sen Liu, Xin Ai, Yang Xu, Yuanyi Zhu, Zijian Li, Zixuan Chen

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

1 Bitcoin timestamp
2 Internet Archive
3 Author claim open · sign in to claim
4 Citations open
5 Replications open
Portable graph bundle live · download bundle · merged state
The bundle contains the canonical record plus signed events. A mirror can host it anywhere and recompute the same current state with the deterministic merge algorithm.

Claims

C1strongest claim

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.

C2weakest assumption

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.

C3one line summary

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

47 extracted · 47 resolved · 0 Pith anchors

[1] m3: Accu- rate flow-level performance estimation using machine learning, 2024
[2] Unison: A parallel- efficient and user-transparent network simulation kernel, 2024
[3] Dons: Fast and affordable discrete event network simulation with automatic paral- lelization, 2023
[4] Discrete event simulation system, 2001
[5] G. S. Fishman,Discrete-event simulation: modeling, pro- gramming, and analysis. Springer, 2001, vol. 537 2001

Formal links

2 machine-checked theorem 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

arxiv: 2605.16897 · arxiv_version: 2605.16897v1 · doi: 10.48550/arxiv.2605.16897 · pith_short_12: W3TQJMP7I4PQ · pith_short_16: W3TQJMP7I4PQ4YIN · pith_short_8: W3TQJMP7
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
  }
}