News for hackers. Stuff that matters.
Re:Ruby terminal apps toolkit by xuejie on Saturday January 28, 2017 @08:50PM (#13511225)
I wonder how easy it is to port all those libraries to mruby's mrbgems, so we can easily pack the Ruby-based CLI program as a single binary to get Go-like benefits.
Re:Ruby terminal apps toolkit by OhSoHumble on Saturday January 28, 2017 @09:05PM (#13511332)
Yeah, building Golang based command line tools is a big bag of pros and cons. There are so many libraries out there for Ruby and Python but having to manage packaging applications written in those languages can be kind of annoying.
Re:Ruby terminal apps toolkit by eikenberry on Sunday January 29, 2017 @04:30AM (#13513302)
Python and Ruby really shine for scripting when the OS already has the packages installed. Otherwise not so much and a mostly self contained binary like Go produces would be better.
Re:Ruby terminal apps toolkit by hopsoft on Sunday January 29, 2017 @11:51AM (#13514987)
What about Traveling Ruby? I've never used it, but it looks promising. https://github.com/phusion/traveling-ruby
Re:Ruby terminal apps toolkit by pmurach on Sunday January 29, 2017 @11:04AM (#13514715)
Very interesting. I haven't considered mruby but it makes perfect sense. Though I don't know how the situation looks like with regards to standard library? A lot of tty packages use esoteric stuff from Ruby standard libraries including ffi or console modules.

There is still plenty of scripts that I write that are geared towards development workflow. I haven't had issues on setting up these tools on Debian servers, Ruby is usually preinstalled and all you need is bundler to get what you need.

Re:Ruby terminal apps toolkit by mega-tux on Wednesday February 01, 2017 @01:40PM (#13543534)
or use something similar to Ruby like Crystal lang