1. 12

  2. 5

    If those two executables have a lot of code in common then you may be able to get a smaller size total by building a single binary that acts like either of them, depending on argv to choose which.

    1. 2

      Exactly, a multi-call binary, like busybox would probably work pretty well in this scenario for the the CLI handling crates alone being deduplicated (arg parsing, output, errors, tracing, etc.).

    2. 2

      Modern hard drives have more than enough memory to handle your big fat binary and network is fast

      I’d say the cache still matters quite a bit, and “the network” is not that fast for most people