News for hackers. Stuff that matters.
Re:Rails 7 Released by smt88 on Thursday December 16, 2021 @12:09AM (#29575150)
> Are there any popular non-Rails uses for Ruby?

No. I'm going to get downvoted for this, but Ruby isn't popular itself (with or without Rails). It's barely more popular than Fortran, according to TIOBE[1]. It cracks the top 10 according to Redmonk, but has been generally declining since 2012[2].

Somewhat shockingly, it's even less widely used than Rust according to Stack Overflow[3].

They also found Ruby has a 53% loved vs. 47% dreaded score, compared to Python's 68% and 32%. It's especially surprising that Stack Overflow's respondents like Ruby less than JavaScript and SQL, the two most frustrating languages I have ever been forced to work with myself.

> Python and Ruby occupy the same space and use cases

This is absolutely untrue. I personally loathe Python, but it is perhaps the most useful language you can learn right now, and it barely overlaps with Ruby.

It's huge in statistics/data science and machine learning. It's not the most common web backend, but it still has a fairly large ecosystem for the web. It's rapidly rising in popularity, too.

1. https://www.tiobe.com/tiobe-index/

2. https://redmonk.com/kfitzpatrick/2021/03/02/redmonk-top-20-l...

3. https://insights.stackoverflow.com/survey/2021#most-popular-...

Re:Rails 7 Released by Mikeb85 on Thursday December 16, 2021 @01:31AM (#29575614)
Tiobe and Stack Overflow rankings don't mean much. Look how popular Tiobe ranks VB due to Excel macros, or SO ranks Bash and PowerShell very highly simply because people ask a lot of questions about it.
Re:Rails 7 Released by smt88 on Thursday December 16, 2021 @02:22AM (#29575901)
I cited the three most popular rankings. I don't know what else to do here.

My own personal experience as a CTO and startup investor: I haven't seen Ruby (or even met someone whose primary language is Ruby) in a long time.

I think it had a moment ~10 years ago when a lot of people started companies using Rails. Some of them still use it, most of them just went out of business.

It hasn't been big since then. It seemed to only ever have become popular in a fairly limited bubble of startups, especially in Silicon Valley.

Re:Rails 7 Released by Mikeb85 on Thursday December 16, 2021 @03:13AM (#29576164)
I mean, it's not Java, C#, Go or JS. It never was that big.

But some pretty successful startups used it and some successful companies today use it. It's been a tool used to spawn quite a few billion+ dollar companies.

Re:Rails 7 Released by smt88 on Thursday December 16, 2021 @04:11AM (#29576455)
I agree, but we're talking about whether a language is popular, aren't we?

Ruby is a fine language that some people have ridden to great success. It is still a fairly niche language.

We're on a popular website written in Arc -- likely the only website written in Arc. Popularity isn't everything and I'm not suggesting it is.

Re:Rails 7 Released by Mikeb85 on Thursday December 16, 2021 @05:13AM (#29576795)
What does popular mean? Used by X% of people or used by X people?

Ruby developers is small in % but rather large as an absolute number.

Re:Rails 7 Released by ksec on Thursday December 16, 2021 @07:31AM (#29577496)
Popular as in industry usage? Which is comparatively very small.

Smt88 is correct in that it is increasingly a niche. Churn rate is greater than retention rate. Junior Developers cant find jobs with Ruby and Rails, and they switch to others that do find them jobs. Companies only want to hire experience Ruby Rails developers but some of them moved on. It is a vicious cycle.

The point is even if Reddit was written in Arc, it has no bearing on Arc's industry status. It needs to be in a self sustainable ecosystem.

Re:Rails 7 Released by montblanc on Thursday December 16, 2021 @09:57AM (#29578754)
Juniors have a hard time getting jobs period, I don't think it has anything to do with Ruby.
Re:Rails 7 Released by pmontra on Thursday December 16, 2021 @03:22AM (#29576210)
Honestly, is Go as big as those three other languages?
Re:Rails 7 Released by Mikeb85 on Thursday December 16, 2021 @05:12AM (#29576785)
Not yet, but it's now in the category of "You won't get fired for picking X". It's seen as enterprise-y and 'safe' and yes, is definitely quite used.

The fact it's used internally at Google and MS alone means it's got traction. I'm willing to bet lots of enterprise shops are using it for things, even if it's not #1.

Re:Rails 7 Released by ksec on Thursday December 16, 2021 @07:24AM (#29577468)
The important question is would you have enough choices in Job Hunting if all you know is Go. And Go seems to be close to if not already a self sustainable status.
Re:Rails 7 Released by Hamuko on Thursday December 16, 2021 @01:52AM (#29575728)
>or SO ranks Bash and PowerShell very highly simply because people ask a lot of questions about it.

Isn't the Stack Overflow one done by a survey, not just by analyzing the questions?

Re:Rails 7 Released by Mikeb85 on Thursday December 16, 2021 @01:59AM (#29575770)
You're right, although doesn't really change my premise. I use Bash everyday, even though I have never tried learning it, don't really care about it, etc...

I really don't think Bash and Powershell are more popular for actual development than C++ and Go respectively. People just use them because they're there... Making the rankings a lot less meaningful.

Re:Rails 7 Released by Hamuko on Thursday December 16, 2021 @02:13AM (#29575855)
>I really don't think Bash and Powershell are more popular for actual development than C++ and Go respectively.

I'd be willing to bet money that Bash is way, way more popular in development than Go.

Re:Rails 7 Released by regularfry on Thursday December 16, 2021 @04:09AM (#29576436)
If you mean popular as in "many people are using it", probably.

If you mean popular as in "many people like using it", I would question your (and their) sanity.

Re:Rails 7 Released by smt88 on Thursday December 16, 2021 @04:16AM (#29576478)
> If you mean popular as in "many people like using it", I would question your (and their) sanity.

According to Stack Overflow's survey[1], people enjoy Bash/Shell more than they enjoy Ruby.

I personally hate both Ruby and Bash, so I assume my sanity is beyond question.

1. https://insights.stackoverflow.com/survey/2021#most-loved-dr...

Re:Rails 7 Released by Mikeb85 on Thursday December 16, 2021 @02:17AM (#29575879)
Again though, you have to qualify that.

> in development

This can be taken a few ways. I don't use Go, but I interact with Bash. So you're right in a sense.

I'd also never write a web-app in bash, nor a non-trivial program, nor anything that isn't a shell script. So is it really meaningful when people are looking for a language to write a GUI app, web app, mobile app or game in?

Re:Rails 7 Released by klelatti on Thursday December 16, 2021 @02:15AM (#29575871)
Broadly agree but I have to say I’m quite happy with where Ruby has settled now.

It’s not going to vanish anytime soon and the Ruby team continue to push improvements.

Unlike Python the ecosystem hasn’t become so large that it’s become impossible to keep track of.

It’s likely to remain my go to language for small projects in large part because writing Ruby is just fun!

Re:Rails 7 Released by montblanc on Thursday December 16, 2021 @09:58AM (#29578769)
Ok the Tiobe => Fortran is complete horse shit and we all know it. Fortan and Perl are both more popular than Go in that ranking I mean come on. But sure I agree Ruby is a nichey language, usage-wise about the same as Swift/Scala or maybe even Go. Somewhere in the top 10-15 I'd guess. If you look at web backend languages (e.g remove C/Visual Basic/C++) Ruby is probably top 10.
Re:Rails 7 Released by smt88 on Thursday December 16, 2021 @04:25PM (#29584137)
Fortran is used a lot in science and engineering. My ex was an evolutionary biologist and used it, as did everyone in her department.
Re:Rails 7 Released by montblanc on Friday December 17, 2021 @12:15AM (#29588109)
What for? I know nothing about it but why not Python? Still haven't heard of anyone using it where I live.
Re:Rails 7 Released by stephenhuey on Saturday December 18, 2021 @11:18PM (#29611266)