• @[email protected]
    link
    fedilink
    English
    25 days ago

    Does the performance cost of error checking/result types they discovered in C++ apply to languages that have native result and option types like Rust?

    I would hope they were able to find efficient, performant implementations, and that branch prediction picks the expected non-error branch in most cases.