Hacker News new | ask | show | jobs
by skybrian 2440 days ago
> Due to the large number of installed files

It sounds like the Rust distribution needs to use zip files more?

1 comments

    $ rustup component list | grep installed
    cargo-x86_64-unknown-linux-gnu (installed)
    rust-docs-x86_64-unknown-linux-gnu (installed)
    rust-std-x86_64-unknown-linux-gnu (installed)
    rustc-x86_64-unknown-linux-gnu (installed)
    rustfmt-x86_64-unknown-linux-gnu (installed)
    $ find ~/.cargo -type f | wc -l
    8699
8K files... So 1 to 2 orders of magnitude less than any given frontend node_modules folder. Pretty reasonable actually.
A big part of that is rust-docs; each page is its own file, so that you don't need a web server.