5 ms·
Ruby just simply isn’t the glue language winner because of the heavy emphasis on rails. From a systems perspective, I had to switch to python because it has py
by portpecos 2y ago
Ruby just simply isn’t the glue language winner because of the heavy emphasis on rails.
From a systems perspective, I had to switch to python because it has pyroute2, which supports rtnl, devlink, ethtool and more.
I would have thought ruby had a full-fledged netlink library right now considering the stability of chef and puppet.
But all I could find was this from 8 years ago: https://github.com/BytemarkHosting/netlinkrb https://github.com/BytemarkHosting/netlinkrb
I started off with ruby for systems glue but now I have a mix of python and ruby. I wish it was all ruby but the lack of updated “glue gems” and the prevalence of updated “glue eggs” means python really is the “glue language winner”.
- Alifatisk 2y ago> all I could find was this from 8 years ago: https://github.com/BytemarkHosting/netlinkrb https://github.com/BytemarkHosting/netlinkrb Yeah, that's so typical. I've almost become used to this, seeing useful gems being very old. To me, I see that as either abandoned (which means I have to fork it and polish it) or the gem is considered complete.
- sam2426679 2y ago> I wish it was all ruby Why do you not wish it was all Python?
- ilvez 2y agoMy answer to this would be: This is totally personal, but for me Ruby is just a language that allows concisely and readable way express myself to get stuff done. Python just does not read so good and forces to do more boiler-plate. Probably skill-issue, but I knew Python before Ruby, so :shrug: To give out any examples, I would need to have some Python code on me, but I don't :D
- Alifatisk 2y agoI’d say simply because of language preference