Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Just a quick remark but for a simple command line utility, I really like a static binary you only need to download, drop into a directory in the path. I am always wary of tools that need to install either a python or node.js distribution, because this seems unnecessary bloat, and might mess with local install if you are not careful.


You can download binaries from there: https://dystroy.org/broot/documentation/installation/


Strange that Chrome doesn't appear to trust broot.exe. When that binary is downloaded, the downloaded file message is: broot.exe is not commonly downloaded and may be dangerous.


Well the first part of the message is almost certainly true and likely what is triggering the message.


In addition to Chrome, Windows 10 seems to be suspicious too ... I don't know why though.


But they only work with a subset of architectures (only x86_64 in this case) and a subset of OSs (Windows with GNU installed, Linux with GNU libraries including libc and libgcc)


Rust on windows has targets for msvc or gnu. The MSVC integrates better with Visual Studio and other Microsoft libraries for development. One downside I've found is that it dynamically links against a msvcrt DLL. Which means you may need to download and install a Visual C++ Redistributable package to run.

The gnu target seems to be fully static and run everywhere with no dependencies.


>Linux with GNU

That’s why he said static, although I’m not sure gcc will produce totally static binaries anymore.


gcc would be happy to, but glibc doesn't really like to be linked statically.


musl, however, is happy to be!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: