I accidentally made the fastest event system in the world
(blog.ardis.dev)
from orion_stderr@programming.dev to programming@programming.dev on 21 Apr 15:03
https://programming.dev/post/49172643
from orion_stderr@programming.dev to programming@programming.dev on 21 Apr 15:03
https://programming.dev/post/49172643
A ~200 LOC Rust crate benchmarked against ten other languages — came out ahead of a monomorphized C++ lib by ~4× at sub-fanout dispatch. Hot loop is six instructions. Can you make it faster?
#programming
threaded - newest
I have no clue about the different event systems specifically, but generally the less features you want out of something, the easier it is to make it fast. I would assume the others don’t need/want this extreme minimalism and trade it for something else.
From what I’ve seen, you might be might be able to beat that with Zig.
Ai slop article