#actorModel

2025-12-31

kitfucoda.medium.com/actor-mod

My attempt to build a prototype recreating the Matrix rain effect last week forced a hard look at my mini Pygame framework. The implementation yielded a mixed result that I’d previously overlooked—not due to the Actor model itself, but a misjudgment in where the "Physical" meets the "Semantic." Extracting a portable framework through refactoring was the goal, yet I was still facing inefficiencies in state management and event dispatch lookups.

In a search for order, I decided to overengineer the project for the sake of learning. My plan was to split the application into three independent processes: the state actor, the display loop, and the event dispatcher. If a little isolation is good, then I figured more processes in parallel must mean faster execution. I wanted to bypass the Global Interpreter Lock and find true independence for each component.

Then I hit the waterfall. The code eventually ran, but the realization of a "Transparency Tax" came an hour later. Instead of hitting a 60 FPS target, my frame rate plummeted into the 30s. Between the serialization overhead of sending callables through cross-process queues and the blocking nature of Pygame’s clock, the Actor process was left with little room for concurrency. The added complexity of message passing became the very bottleneck I sought to avoid.

I failed the mission to cleanly separate components into independent processes, but the expedition pushed me far enough from my comfort zone that the insights were worth the crash. If experience is a painting, the trail of footsteps is exactly how lines are formed in an image. I’m moving back to a single-process model for the next revision, keeping the clean Actor API but losing the performance tax.

#Python #Pygame #SoftwareArchitecture #ActorModel #Concurrency #KitFuCoda #Fediverse

Vaughn Vernon 🟦 🟨 🟧 🟪VaughnVernon
2025-11-17

In case you are freaking out over using some mysterious asynchronous messaging library for , don't worry. It will feel exactly like async/await because it is async/await, but with all the benefits of the .

mastodon.social/@VaughnVernon/

Vaughn Vernon 🟦 🟨 🟧 🟪VaughnVernon
2025-11-17

-TS v1.1.0 of is now published; the toolkit for fault-tolerant and message-driven concurrency.

Stage's new registerValue(), registeredValue(), and deregisterValue(). See the documentation and source code:

npmjs.com/package/domo-actors

github.com/VaughnVernon/DomoAc

Vaughn Vernon 🟦 🟨 🟧 🟪VaughnVernon
2025-11-15

Now it's time for on => DomoActors-Py the type-safe library for Python.

$ pip install domo-actors

Requires: Python 3.10+
Uses: asyncio for async/await

See below for links.

On GitHub:
github.com/VaughnVernon/DomoAc

On PyPI:
pypi.org/project/domo-actors/1

Domo - DomoActors-PyDomo - DomoActors-Py for Python 3.10+
Vaughn Vernon 🟦 🟨 🟧 🟪VaughnVernon
2025-11-14

I have published for , an toolkit for the platform with fault-tolerant, message-driven concurrency.

$ npm -install domo-actors

See below for access.

- Runtimes: Node.js >= 18.0.0, Deno, Bun, Cloudflare Workers and Durable Objects, or any V8-based JavaScript runtime

- TypeScript: >= 5.0.0 (for development)

- DomoActors has zero Node.js-specific dependencies and runs on any V8-compatible runtime. See below for access.

1/2

Vaughn Vernon 🟦 🟨 🟧 🟪VaughnVernon
2025-10-23

This is an amazing prediction by , inventor of the , regarding a revolution in by 2025. It's sad that like many of the early pioneers, he didn't live to see it happen. (Video: 5 minutes.)

youtube.com/watch?v=A69umiVS3ic

pvergain (kolektiva)pvergain@kolektiva.social
2025-10-08

- discuss.python.org/t/python-3- (Python 3.14.0 (final) is here!)

- docs.python.org/3.14/whatsnew/ (What’s new in Python 3.14 by Adam Turner and Hugo van Kemenade)

- docs.python.org/3.14/whatsnew/ (Python 3.14 Changelog)

- astral.sh/blog/python-3.14 (Astral ready for Python 3.14)

```
uv self update
uv python upgrade 3.14
uvx python@3.14
uvx python@3.14t
```

#Annotations

- docs.python.org/3/whatsnew/3.1
- discuss.python.org/t/python-3-

Instead, annotations are stored in special-purpose annotate functions and **evaluated
only when necessary** (except if from __future__ import annotations is used).

# PEP 768 Python 3.14 **Safe external debugger interface, a zero-overhead external debugger interface for CPython

- docs.python.org/3.14/whatsnew/
- discuss.python.org/t/python-3-

Python 3.14 introduces a zero-overhead debugging interface that allows debuggers and profilers to safely attach to running Python processes without stopping or restarting them.

# RFC9562 Python 3.14 **UUID versions 6-8 are now supported by the uuid module**

- docs.python.org/3/whatsnew/3.1
- discuss.python.org/t/python-3-

# zstandard

- peps.python.org/pep-0784/ (Adding Zstandard to the standard library)
- docs.python.org/3/whatsnew/3.1
- discuss.python.org/t/python-3-.

# A new command line interface with asyncio introspection capabilities: python -m asyncio ps PID

- docs.python.org/3/whatsnew/3.1
- discuss.python.org/t/python-3-

# Multiple interpreters in the standard library

- peps.python.org/pep-0734/ (Multiple Interpreters in the Stdlib)
- docs.python.org/3.14/whatsnew/
- discuss.python.org/t/python-3-

- gdevops.frama.io/python/versio

# Python #Python314 #TemplateString #ZStandard #RemoteDebugging #MultipleInterpreters #FreeThreaded #UUID7 #asyncio #parallelism #CSP #ActorModel

Le logo pour la livraison de Python 3.14
Platform Engineering Labsplateng_labs
2025-05-20

Concurrency isn’t new, but how we apply it keeps evolving.

In this post, @JeroenSoeters explores how Ergo brings Erlang-inspired concurrency patterns to Go using the Actor Model.

We’re using ideas like this to help build tools that feel simple, but scale with your systems.

Full write-up and repo in comments below. 👇

Follow @plateng_labs for updates on what we're building.

2025-01-21

i might not need a full blown actor framework for the idea i have to get the features i want. i dont care about asynchronous execution, distributed runtimes and all that other stuff for my text editor to have runtime function hot swapping. i just need a single massive global vtable, and online upgrades are just updating the function pointer the index points to. plus i get object capability security for free since you use an opaque index (tho that's kinda irrelevant for my usage)

all the actual logic for that is a single function with a bit of inline assembly to shuffle the arguments around, do a silly little index into an array, then jump to it.

it's a memory access so this does hurt cache if you're calling into an actor while doing some heavy computation in some loop (like processing a text buffer into a list of vertices and passing it to a renderer actor), but you're calling into another actor anyway and that could do anything. you should probably be batching these calls instead.

#actormodel #texteditor

@reiver ⊼ (Charles) :batman:reiver
2024-12-13
2024-11-26

also correct me if im wrong, but can a #microkernel be considered to be using the actor model? because rpc can be seen as just passing messages around and each userspace driver as an actor. i only just learnt about the #actormodel though

Serge from Babkaserge@babka.social
2024-09-09

Talking to someone from the Actor/OCAP model about programming.

youtube.com/watch?v=WU_RGhavFb

#programming #ActorModel #OCAP

TheLambdaDevthelambdadev
2024-08-24

At the heart of this approach is the ability to develop systems that react to changes in data or environment in real-time.

Read more 👉 lttr.ai/AWNGN

TheLambdaDevthelambdadev
2024-07-25

Essa sinergia entre técnicas de programação avançada e métodos ágeis de gestão é a chave para desenvolver sistemas verdadeiramente antifrágeis, capazes de prosperar em um ambiente de constante mudança e incerteza.

Read more 👉 lttr.ai/AVAZs

Cecil Phillip 🇦🇬cecilphillip@hachyderm.io
2024-07-21

Watching David Khourshid talk from JSConf. It's interesting to see how to relates the actor model to LLM agents

(also points for the Microsoft Orleans call out 🙂)

youtube.com/watch?v=GhAl0EiXma
#jsconf #actormodel #llm

TheLambdaDevthelambdadev
2024-06-29

At the heart of this approach is the ability to develop systems that react to changes in data or environment in real-time.

Read more 👉 lttr.ai/ASOUX

TheLambdaDevthelambdadev
2024-06-12

Moreover, the reactive environment in Elixir encourages creativity and experimentation.

Read more 👉 lttr.ai/ASOTQ

TheLambdaDevthelambdadev
2024-06-08

Agents encapsulate state and provide a simple API for state retrieval and updates, making them ideal for tasks requiring stateful services.

Read more 👉 lttr.ai/ASOTE

TheLambdaDevthelambdadev
2024-06-06

Structures like Agents, a fundamental part of Elixir’s concurrency model, play a pivotal role.

Read more 👉 lttr.ai/ASOS2

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst