~/talk

Lessons Learned from Adding Backend Dispatching to NetworkX and scikit-image

Talkat SciPy 2025 · 2025-07-07..07-13· [python, software-architecture]
links:none on file
slides:none on file

Library-level dispatching adds GPU and alternative-implementation support by routing calls to concrete backends: NetworkX evolved over three years to convert inputs, cache conversions, log and introspect results, and dispatch via a decorator pattern (one prototype became the main implementation); scikit-image explores five prototypes and targets cuGraph/cuPy/RAPIDS for zero‑change acceleration while keeping results on device. Backends implement a small interface, frontends add a networkx.dispatchable decorator or equivalent, and a nascent tooling project spatch codifies best practices.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 1:27What is high-level dispatching
  3. 3:56Why dispatching matters for community
  4. 8:11Examples of dispatching in Python
  5. 12:45Dispatching in NetworkX and scikit-image
  6. 18:27Designing libraries with backends
  7. 23:50Q&A on dispatching challenges
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.