5 ms·
I'm loving it, and certainly will be using it a lot. One thing, though - 2MB seems like a lot for program of this kind. In comparison, jq on my system has 30kB.
by pferde 5y ago
I'm loving it, and certainly will be using it a lot. One thing, though - 2MB seems like a lot for program of this kind. In comparison, jq on my system has 30kB.
- westoncb 5y agoI'll bet there are some Rust build options they can tweak to get it way down...
- bogeholm 5y agoHere are a couple of options if anyone is curious: https://github.com/johnthagen/min-sized-rust https://github.com/johnthagen/min-sized-rust
- pferde 5y agoFWIW, when rebuilding jless with some of the cargo tweaks mentioned here, as well as in https://www.collabora.com/news-and-blog/blog/2020/04/28/reducing-size-rust-gstreamer-plugin/ https://www.collabora.com/news-and-blog/blog/2020/04/28/redu..., I managed to get the binary size down to 1.75MB. Better, but still huge. Note that I did not use tweaks which require rust nightly, as I did not feel like installing it.
- afarrell 5y agoI'll bet that a good project for a different person who has idly thought "y'know, I'd like an excuse to learn rust..." could be doing that.
- gaxozx625 5y ago