• anton@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    4
    ·
    13 hours ago

    Rust doesn’t allow type inference in function signatures, c++ does with auto. IIRC, they recommended against using it, because of -you guessed it- compile time.