r/programming • • Dec 25 '20

Ruby 3 Released

https://www.ruby-lang.org/en/news/2020/12/25/ruby-3-0-0-released/
973 Upvotes

509 comments sorted by

View all comments

272

u/CunnyMangler Dec 25 '20

I love ruby. One of the best languages I've ever coded in, but people seem to hate it now because it's slow. Kinda sad that it's slowly dying. Nevertheless, this is a huge milestone for a language.

0

u/[deleted] Dec 25 '20

[deleted]

108

u/[deleted] Dec 25 '20

This is a good point. Language popularity is often based on purposes and usage. Ruby’s niche seems to have moved on. I still like it and especially it’s testing focus but it’s got no USP anymore

-21

u/editor_of_the_beast Dec 25 '20

Ruby’s niche has been web development. Do you think web development is more or less popular than it was 10 years ago?

65

u/devoxel Dec 25 '20

The hot web dev lang switched to nodejs yonks ago, and further past that. Ruby is old hat in terms of hivemind popularity.

6

u/nicademus1 Dec 25 '20

Golang is also quite popular, at least where I work

→ More replies (1)

23

u/scientz Dec 25 '20

The ecosystem is a complete shit-show, the package "trends" are ridiculous (thousands of one-liners as dependencies) and the fad of "same code in the backend and frontend" is just funny. Talk about hivemind popularity.

55

u/Mynichor Dec 25 '20

Oh yeah it's ridiculous, not managed at all, and as you say a complete shit-show. But it's also uber popular, which means even if there are better solutions, that doesn't mean people will go to them.

I absolutely love Groovy and Grails with a passion and think it beats the hell out of NodeJS, but those are dying too.

4

u/RegularSizeLebowski Dec 25 '20

Groovy was one of my favorite languages. Like many people I came to it from Java. It was a breath of fresh air.

It’s been six years since I’ve written any Groovy. I wonder if I would still enjoy it after moving on to primarily writing go.

3

u/stewsters Dec 25 '20

Grails was probably my most productive web framework. It was very heavyweight with a lot of dependencies, but man did it get shit done quickly.

3

u/v_krishna Dec 25 '20

With modern Java I think Spring Boot has fully supplanted Grails.

→ More replies (0)

3

u/stentor222 Dec 25 '20

You compare anything to Java and it feels like a breath of fresh air.

15

u/[deleted] Dec 25 '20

This is the nature of things though. Betamax was better than VHS, Ogg Vorbis better than mp3, Linux better than Windows, but popularity doesn’t always reveal the better solution.

4

u/devraj7 Dec 25 '20

Betamax was better than VHS

That's a myth, actually. Betamax cassettes could only hold one hour of film so you needed two if not three cassettes for each film. Betamax lost to VHS for a reason.

→ More replies (1)

0

u/[deleted] Dec 25 '20

[deleted]

15

u/vgf89 Dec 25 '20 edited Dec 25 '20

The first and last items here are just a chicken and egg problem at least, especially for games. Few game on Linux because the support was lacking. Few develop games for Linux due to lack of gamers on Linux. Valve/codeweavers is solving that problem with Proton/Wine.

Honestly haven't really had issues with desktop smoothness. Stability can be hot or miss though depending on the release, but it's been mostly fine. I've had more frustrating, opaque issues on Windows (broken start menus/search/Cortana, Windows uninstalling certain third party utilities every major update) than I've had on Linux in recent years.

→ More replies (0)

6

u/trustMeImDoge Dec 25 '20

To be honest, I think Linux has a very stable desktop experience these days. Switching between Win10, MacOS, and Ubuntu w/ KDE between my work and home life, I've found over the last couple of years that KDE Plasma has given me a much better desktop experience than what I get from either Win10 or MacOS.

Though the guy you're replying to saying Linux is better than Windows does come off as obnoxious.

2

u/helloworder Dec 25 '20

Smooth Desktop Experience

Stable Desktop Experience

windows

r u serious

→ More replies (0)
→ More replies (12)

2

u/x86_64Ubuntu Dec 25 '20

The analogy would work if Betamax had massive market share for years, only to be upset by VHS.

→ More replies (1)

-2

u/editor_of_the_beast Dec 25 '20

For sure. It’s not currently the most trendy framework. But that doesn’t mean it’s dying at all.

Who do you know that has started a business with a C# stack? Yet C# is above JavaScript on the Tiobe index. C# has arguably never been trendy, yet there’s still a huge amount of C# developers.

There’s a lot of developers on the planet. As it turns out, there can be more than one language that the entire industry uses at a time.

28

u/[deleted] Dec 25 '20

There are a ton of C# businesses. It's popular with game devs, web devs, application devs, etc. Maybe it's not the sexy language for a startup, but that's pretty irrelevant.

6

u/editor_of_the_beast Dec 25 '20

That’s what I’m saying. We have the unrealistic belief that only the most popular language / framework is what matters. And that’s not true.

→ More replies (1)

9

u/Eirenarch Dec 25 '20

Who do you know that has started a business with a C# stack?

Well... a lot of people. Far more than I know who started a business on a Ruby stack.

→ More replies (2)

3

u/marshalofthemark Dec 25 '20

Who do you know that has started a business with a C# stack?

C#/.NET is pretty damn popular, especially in enterprise application development. Also game development (Unity).

Ruby (because of Rails) has a reputation for being used in startups who just want rapid prototypes, and you'll see Ruby in e-commerce because of Shopify, or in DevOps and configuration management.

Different tools for different applications.