Conversation

Marcin Juszkiewicz πŸ™ƒ

Rust... I am not a fan of how it works.

Fetched https://github.com/matheus-git/systemd-manager-tui to take a look at tool.

`cargo build` fetched some rust packages into ~/.cargo (btw why not ~/.cache/cargo?) and gave me working binary.

71 MB binary. Which does not use any shared libraries other than libc, libm, libgcc.

I know that in wooster I have 2 TB nvme (puchatek has 0.5+1 TB) but how fast space will end if we start rewriting things into rust?

2
2
0

@hrw Not using .cache should be considered as a crime.

[~]> cat ~/.xprofile
export CARGO_HOME=~/.cache/cargo
export GOPATH=~/.cache/go
1
0
0

le petit printf πŸ‡ΊπŸ‡¦πŸ‡¨πŸ‡ΏπŸ‘ƒπŸ’¨

@oleksandr @hrw HOME=$HOME/.cache

/me smart

1
1
0
@hrw Yeah, rust likes to eat disk space. You have a 100 line program, few megabytes binary, and half a gig worth of build artefacts.
1
0
1
@hrw OTOH... Rust is still great :). But I guess libraries are harder to do with all the generics, and Rust is still pretty young.
0
0
1