• FizzyOrange@programming.dev
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    7 hours ago

    Why bother with the significant pain of FFI when you can just write the whole thing in Rust?

    Also “the critical parts” is mostly a myth. After a small amount of optimisation, the vast majority of programs do not have nice isolated hotspots.

      • FizzyOrange@programming.dev
        link
        fedilink
        arrow-up
        1
        ·
        3 hours ago

        Rust has scripting support. It’s nightly only but that’s not actually a big deal since running nightly is trivial.

        It has some limitations currently, but… so does Python.