If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
Announcement
Collapse
No announcement yet.
Uutils 0.0.13 Released For GNU Coreutils Replacement In Rust
OK, I found the issue in Arch packaging. I'll try to send a patch on Saturday.
Basically, the script is using GNU Make rather than Cargo. The project's GNUMakefile checks whether `MULTICALL iseq y` and uses `install` rather than using the Cargo.toml config. So, adding that flag to the PKGBUILD should fix it.
My Gentoo packages are about the same sizes, for some reason it compiled uutils as separate binaries instead of a unified one as per upstream default. If you build the standard way and strip the resulting binary, you should be under 10MB. File a bug on your distro's package.
OK, that's what I expected. I think I'll try to send my first patch for Arch configs this week then
EDIT
If I have to guess, something like the following might have happened. First, whoever built it set it to make hard links rather than symbolic ones. Then the tar step made a copy for each path rather than a single one for the inode. I think you can configure tar to use hard links instead, tho symbolic links are probably easier to work with.
I noticed that a few months ago and stopped me from installing. Supposedly they follow the single binary approach, so it's unclear to me why it's that big. Maybe the packager did something wrong there?
My Gentoo packages are about the same sizes, for some reason it compiled uutils as separate binaries instead of a unified one as per upstream default. If you build the standard way and strip the resulting binary, you should be under 10MB. File a bug on your distro's package.
I mean... yes is just a special case of "stdin/stdout is slow" and the severe bottleneck does require acknowledgement and effort to work around... as I mentioned, however... most other text processing commands can be buffered into a single read/write so that's much less of an issue.
My point is that these things sometimes turn out to be more than they appear, so it's good to withhold judgment.
I mean... yes is just a special case of "stdin/stdout is slow" and the severe bottleneck does require acknowledgement and effort to work around... as I mentioned, however... most other text processing commands can be buffered into a single read/write so that's much less of an issue.
Round and round and round again ! Notice how lots of stuff is rewritten every couple of years.
Hope the same thing does not happen when Bust/Dust/Gust (The super compiler released to fix Rust memory corruption - coz some n00bs failed to learn and use the language correctly ) is released.
Why do people who don't know Rust write like this?
Wouldn't be easier just to give a scan over the official Rust book instead of posting psychotics rants?
Leave a comment: