• 0 Posts
  • 11 Comments
Joined 3 years ago
cake
Cake day: June 26th, 2021

help-circle
  • There’s pros and cons. On one hand, packing your dependencies into your executable leads to never having to worry about broken dependencies, but also leads you into other problems. What happens when a dependency has a security update? Now you need an updated executable for every executable that has that bundled dependency. What if the developer has stopped maintaining it and the code is closed source? Well, you are out of luck. You either have the vulnerability or you stop using the program. Additionally bundling dependencies can drastically increase executable size. This is partially why C programs are so small, because they can rely on glibc when not all languages have such a core ubiquitous library.

    As an aside, if you do prefer the bundled dependency approach, it is actually available on Linux. For example, you can use appimages, which are very similar to a portable exe file on windows. Of course, you may run afoul of the previously mentioned issues, but it may be an option depending on what was released.








  • OpenFOAM. I needed powerful software to do CFD that was free, as in free beer, and found OpenFOAM. To run it on windows, the installation instructions first step was install linux on a vm then follow the linux installation instructions. I did that and started using the vm for other stuff until I found myself using the vm for most tasks, but kept using windows for gaming. To learn more, I got myself a pinebook, which replaced most of the usage of my vm. When windows decided to self destruct, I had learnt enough to install and configure arch with minimal help. Now, nothing can persuade me to go back.