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?

  • Azzu@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    24
    ·
    18 days ago

    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.