Commit graph

7 commits

Author SHA1 Message Date
Zachery Aaron Shores-Chmielewski
799b654251 feat: refactor tests
Refactor the tests and component APIs to be more amenable to metrics, fuzzing, understanding data flows, etc.
2026-02-06 18:05:06 +07:00
Zachery Aaron Shores-Chmielewski
c80060f453 fix: consolidate modules
Better consoliation of modules into more logical components.
2026-02-06 14:06:37 +07:00
Zachery Aaron Shores-Chmielewski
06566b5e0f feat: more fine tuning available in the config 2026-02-06 13:48:51 +07:00
Zachery Aaron Shores-Chmielewski
7c7947c823 feat: actor addresses, Ctx abstraction, pools, and more
Fleshing out the architecture before abstracting into components amenable to api-based test harnesses for fuzz and optimization working loops.
2026-02-05 22:54:03 +07:00
Zachery Aaron Shores-Chmielewski
172e78a50b feat: mailbox
In the middle of a vibe-coded infra change. Modularizing the components into APIs amenable to lots of testing and optimization.
2026-02-05 21:22:36 +07:00
Zachery Aaron Shores-Chmielewski
c56a05433f feat: Stress tests, benchmarking, and non-failing queues and inboxes #3
Adds some basic benchmarking, stress tests. They still need to be properly examined to ensure they are testing the correct properties, but fit for "good enough". Implements the HybridChannel type, which features a channel buffer that can withstand overflows. It does so by providing a dequeue behind a mutex. Without overflow, will push messages into the lock free ArrayQueue implemented by crossbeam_queue; when that buffer fills, will use the locking portion provided by the Mutex<VecDequeue>.

In the future we can even further optimize this, perhaps with some linked list implementations of lock-free channels, but, like the benchmarks, this fits the "good enough" bar for now.
2026-01-26 14:14:00 +07:00
b422605f6b feat: Multithreaded runtime (#2)
Implements a tunable configuration for a single or multi-threaded runtime.

Co-authored-by: Zachery Aaron Shores-Chmielewski <zachanon@gmail.com>
Reviewed-on: http://zachery.lol/code/code/zacheryasc/swactor/pulls/2
2026-01-25 13:38:34 +00:00