Hacker News new | past | comments | ask | show | jobs | submit

Rubish: A Unix shell written in pure Ruby

https://github.com/amatsuda/rubish
loading story #48247243
loading story #48250118
loading story #48247075
loading story #48246509
People think Ruby is a slow language, but little do they know Ruby is a slower language than Go. But ruby these days is faster than Python.
loading story #48246372
Oh my god this is the best name to the application. You win the weekend.
loading story #48247301
loading story #48248435
loading story #48249347
loading story #48246987
loading story #48246485
loading story #48248597
loading story #48247893
Is it just me of did others also read rubbish instead of rubi-sh...I think that might be the joke. hm...
loading story #48246272
I much prefer the pipe to method chaining.
loading story #48246226
loading story #48247743
loading story #48247651
loading story #48246787
loading story #48246591
Hmm. The name is a bit awkward since people can call it "rubbish". The idea is also not quite new in that many years ago people worked on an ruby-like shell with OOP support from the get go and they used a ncurses drop down box too. I forgot the name, but it must have been before 2010 already, as I vaguely remember it from talking on IRC back in those days. I think the main developer was from South Africa, but I don't remember that much anymore.

A few years ago irb got a facelift, so rubish probably represents a more modern take on the shell concept. I tested it and it works too. I wonder how much the everything-is-an-object idea is extended here. Many years ago I learned avisynth + virtualdub and I always liked how they approached filtering. Ffmpeg is great, but I absolutely hate the filter system it uses and the ABSOLUTELY horrible syntax. The ffmpeg devs do not seem to know avisynth, or any alternatives here - so I want object manipulation with a convenient syntax at all times, not just for audio/video data but literally for any data. Naturally ruby would be a good fit by default, but I am unaware of many ruby developers even wanting to go that route. If there are still any ruby developers left that is - ruby has been tanking hard in the last few years, approaching extinction level, just like perl did before.

There has to be a better influx of new users; the old +50 years generation isn't going to keep languages alive really.

Edit: Also I forgot: the idea and implementation is fine, I just think we need much more of that in general. Ruby is kind of in a patchy patchwork situation. Where are the epic projects? Rails is also ancient already.

loading story #48246808
loading story #48246641
Good April 1 article.