News for hackers. Stuff that matters.
Re:Reducing Memory Usage in Ruby by hirundo on Wednesday January 24, 2018 @12:07AM (#16220484)
Ruby seems to have a footprint on Hacker News disproportionate to its general popularity and TIOBE index. Why?
Re:Reducing Memory Usage in Ruby by dragonwriter on Wednesday January 24, 2018 @02:07AM (#16220930)
> Ruby seems to have a footprint on Hacker News disproportionate to its general popularity and TIOBE index.

TIOBE index is a junk metric (I'm surprised so many technical people seem to buy into it; it's the worst kind of easy to get a precise number, hard to demonstrate that that number has any more than a very distant relationship to anything meaningful, kind of metric that, IME, tech people mock bad managers for buying into.)

That said, Ruby’s got (via Rails and other web frameworks, and via various testing and admin tools) a very strong footprint in use even if it's no longer the hype-of-the-month.

Re:Reducing Memory Usage in Ruby by lstamour on Wednesday January 24, 2018 @12:19AM (#16220524)
Rails, and possibly 37signals, was very influential to many folks about a decade ago, especially in the startup community, where Rails was seen as especially useful for prototyping or rapid, test-driven web app development. https://www.quora.com/Why-do-so-many-startups-use-Ruby-on-Ra...

It’s popularity at this may have diminished with the rise of JavaScript, Go and alternatives but many folks still like and use Ruby, or at least would like to see it continue to improve and thrive.

Re:Reducing Memory Usage in Ruby by berfarah on Wednesday January 24, 2018 @12:15AM (#16220512)
Ruby has one of the better communities among programming languages - disproportionate to its popularity. I wish more languages had that quality of discourse.
Re:Reducing Memory Usage in Ruby by abhiyerra on Wednesday January 24, 2018 @01:17AM (#16220742)
Ruby and Rails have been around for about 10 years at this point. It is stable and for most websites it just works (up to a certain size). It is not as exciting as JS is now but people are using it to get things done since it is relatively mature and used a lot in startups. Likely why you see it referenced a lot here.
Re:Reducing Memory Usage in Ruby by farnsworthy on Wednesday January 24, 2018 @12:31AM (#16220559)
From a different perspective, having worked on numerous Ruby projects for years across the private (startups to Fortune 500), nonprofit, and government sectors, spanning many locations with worldwide team members, I don’t see where Ruby/Rails isn't at this point—it’s seemingly all-pervasive.

Similar to general hiring/salary surveys, I’m not sure that the referenced index is accurate.

Re:Reducing Memory Usage in Ruby by mwaitjmp on Wednesday January 24, 2018 @01:51AM (#16220871)
Not only due to the popularity of Rails, Ruby has become popular for sysadmins as config management solutions such as puppet and chef are built on top of it. The resulting syntax is very ruby like, and in some cases you are even required to write a few ruby blocks here and there.

It also has an amazing testing framework in the form of rspec, which can be used for much more than just testing Ruby code.

Re:Reducing Memory Usage in Ruby by ngsayjoe on Wednesday January 24, 2018 @02:13AM (#16220949)
Yeah, and i use Selenium with Ruby as well.
Re:Reducing Memory Usage in Ruby by skinnymuch on Wednesday January 24, 2018 @09:00AM (#16222659)
Do you Watir Webdriver, much nicer Ruby wrapper, or straight up Selenium?
Re:Reducing Memory Usage in Ruby by ngsayjoe on Thursday January 25, 2018 @04:11AM (#16229718)
Straight up Selenium.
Re:Reducing Memory Usage in Ruby by flukus on Wednesday January 24, 2018 @02:21AM (#16220983)
HN is not at all representative of the wider programming community. HN attracts a lot of people working for trendy startup companies and is very silicon valley centric, but that is a tiny portion of the programmers world wide who are much more likely to be working on a java project for a generic business than using the latest fad.

TIOBE has it's issues but as a rough guide to what the industry is actually using I think it's in the ballpark.

Re:Reducing Memory Usage in Ruby by look_lookatme on Wednesday January 24, 2018 @07:25AM (#16222158)
Because Ruby has a footprint in the startup community that is disproportionate to its general popularity and TIOBE index.