I joined Lemmy back in 2020 and have been using it as [email protected] until somewhere in 2023 when I switched to lemmy.world. I’m interested in Linux, FOSS, and Selfhosting.

  • 2 Posts
  • 22 Comments
Joined 2 years ago
cake
Cake day: June 10th, 2023

help-circle








  • Oh, that doesn’t sound great. One reason I was looking into it was because Docker seemingly doesn’t allow optional mounts which has been causing some issues. My home assistant is using a network attached USB device through a raspberry pi somewhere else in the house. Sometimes it would disconnect and take down my entire home assistant instance.










  • TLDR: Rust, Go and other modern languages don’t use more dependencies than C/C++, but have larger binaries due to including libraries into the executable binary. This trade-off was chosen to ensure you can reliably run the executable on various systems without dependency issues.

    I personally have gone with both options on several occasions. Being able to include an HTTP client without having to debug someone’s cURL installation is certainly worth a few extra MiB’s of disk space. However, I’ve also used C instead of Rust to avoid a very simple CLI program turning into several MiB’s large binary (due to statically including the Rust std lib).