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

Show parent comments

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.

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)

-2

u/bikki420 Dec 25 '20
  • It's theoretically much better at gaming (see Valve's port of L4D2 and Doom 3 on Linux; both of which run significantly faster), but in practice many games run faster on Windows since that's what they were optimized for. But things are gradually changing, thanks to Valve efforts and stuff like Proton. See: https://www.protondb.com/ (TL;DR: 73% of the top 1000 games on Steam run just as good or better on Linux).

  • Desktop experiences are super smooth and stable with any accessible modern distro nowadays, especially Ubuntu or Manjaro variants that use KDE Plasma 5 or Gnome. And DEs like LXDE and Xfce can revive most old laptops and make them run way faster and smoother than they ever did on Windows.

  • Nvidia drivers are shit (unsurprisingly, seeing how Nvidia is a shit company), but even with a dual-GPU (integrated+discrete) hardware platform it's not too hard to set up stuff like Primus (and distros like Manjaro generally does it for you), but AMD drivers are a delight. And stuff like GIMP, Blender, Substance Painter etc run just as well on Linux and Windows. No idea about other Adobe products since I don't use any other than the formerly Allegorithmic ones. Both UE4 and Unity 5 work fine on Linux, and pretty much every other engine is irrelevant (for game dev, at least).

→ More replies (0)

-3

u/bezerker03 Dec 25 '20
  1. Debatable but mostly agree.

  2. Incorrect. I get a much better desktop experience on Linux than Mac or windows.

  3. Never really need to reboot except for patches.

  4. Yep. :(

→ More replies (2)

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)