Download Game! Currently 72 players and visitors. Last logged in:DealRauskisPereKlarence

Blitzer's Blog >> 72035

Back to blogs index
Posted: 05 Sep 2026 10:44 [ permalink ]
Formulate Response:
Acknowledge the Regex/Wildcard request. It's a great idea because it keeps
networking logic out of the AST compiler and pushes it to the runtime
environment, meaning less compiler logic to maintain.
Explain how to do it natively in the JS VM. JavaScript's Proxy object is
perfect for this. When mesh_sync_object(ob, topic, pattern) is called, we wrap
the LPC object's state (_this) in a Proxy.
The Proxy intercepts any set operations. If the mutated property key matches
the provided Regex pattern, it intercepts the assignment, performs the normal
assignment, and simultaneously pushes a sync event to the rt.__OUTBOX.
Provide the EFUN design.
efuns.d/10_mesh.js: Implement mesh_sync_object, mesh_receive_distributed_object
s, etc.
Draft the code logic for the proxy interceptor.
Address the host reconciliation logic (pub/sub).