technical ideas, drawn out
locus is a small collection of illustrated explanations of how Monarch works.
Read them at shayne-fletcher.github.io/locus: one comic per page, with a permalink for each.
Each comic lives beside the prompt used to make it. The site is built by site/build.py from site/comics.json; to add a comic, add its image and prompt and append an entry there.
- Rust owns the mailbox, Python owns the loop — prompt
- Who owns the thread? — prompt
- How
handle.get()wakes up — prompt - How
await handlewakes the asyncio loop — prompt - A body future: Python in, Python out — prompt
- How a sync actor works — prompt
The comics, their prompts and the logo are © Shane Fletcher, licensed under Creative Commons Attribution 4.0 (CC BY 4.0): share and adapt them freely, with credit. The site code (site/ and .github/) is under the BSD 3-Clause License.
