Skip to content

Implement a new multi-threaded SAB pull scheduler#171

Merged
KubaO merged 72 commits into
twinbasic:mainfrom
KubaO:staging
Jun 2, 2026
Merged

Implement a new multi-threaded SAB pull scheduler#171
KubaO merged 72 commits into
twinbasic:mainfrom
KubaO:staging

Conversation

@KubaO
Copy link
Copy Markdown
Collaborator

@KubaO KubaO commented Jun 2, 2026

SAB stands for SharedArrayBuffer used to sync task state between threads).

KubaO added 30 commits May 30, 2026 21:52
DAG = Directed [Edge] Acyclic Graph
- Add worker-pool.mjs (WorkerPool class)
- Add scheduler.mjs (Scheduler + SharedState)
- Add cpu-worker.mjs (dispatcher skeleton, empty handlers)
- Re-export buildInit from template.mjs as buildInitFn
- Export serializeLinkTables from render.mjs
- Change deriveRedirectStubs filter to frontmatter.layout check
- Add precomputedStubs/precomputedUrls passthrough params
- Add svgFiles to regenerateMermaid return value
Move Shiki WASM init to a no-dep seed task (highlighterInit)
KubaO added 29 commits June 1, 2026 16:07
Having the dependency in writeAssets unnecessarily delayed the write.
The `scheduler-dag` diagram is awful. This is a known issue.
@KubaO KubaO merged commit 3a2534d into twinbasic:main Jun 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant