Your benchmark says it's fast. My benchmark asks where it breaks.
I stress-tested five in-process event buses across five languages until each one crashed. No library survives every axis. None of them fail the same way. Here are the graphs.
Blog
I stress-tested five in-process event buses across five languages until each one crashed. No library survives every axis. None of them fail the same way. Here are the graphs.
I wrote rt-events because I wanted a typed pub/sub in Rust. Then I benchmarked it against ten other languages and it came out ahead of monomorphized C++. The hot loop is six instructions. I cannot make it go any faster. Can you?