Hacker News new | ask | show | jobs
by _paulc 4172 days ago
I'm a big fan of removing dependencies and very partial to distributing single dependency free executables, but don't you just need to install all the shellfire dependencies instead of Python/Ruby etc. Appreciate that you can 'fatten' apps but this is true for the other languages too (pyinstaller etc.).
1 comments

No, it's not like Python/Ruby/etc dependencies. You use your own git; dependencies are submodules in your git repo. shellfire deliberately is not designed to be installed in `/usr/lib` or wherever. In this sense, it's more like Go. Going down the git route gives fine-grained control over which dependency versions one uses.

This makes development completely independent of the `/usr`, etc of the machine your own. If you clone your repo from your laptop to someone else's desktop, no need to to install deps, no need even for a working network env - valuable if you're in one of those places that breaks Ruby because they uses a Windows proxy (eg most UK Gov setups).

You don't have to fatten; you can just deploy by exporting your git repo. That sort of route would be perfectly acceptable for most enterprise work. Still no need to install deps, as everything is relatively-pathed.