Live data from Hacker News

Ruby Together

rubytogether.org

1–10 of 86 posts

Re: Ruby Together

#2
I'm a a typescript/java engineer. I would say my lifetime code stats are probably around 40% JS / 35% Typescript / 15% Java / 8% Python / 2% other. That is to say, I've barely ever written any Ruby outside of the occasional little script. And yet it's secretly my favorite language.

I wish I wasn't afraid that demand for it would vanish over time, which makes me reluctant to invest skills in its ecosystem. It seems so small and uncommon today compared to others.

Re: Ruby Together

#3

I'm a a typescript/java engineer. I would say my lifetime code stats are probably around 40% JS / 35% Typescript / 15% Java / 8% Python / 2% other. That is to say, I've barely ever written any Ruby outside of the occasional little script. And yet it's secretly my favorite language. I wish I wasn't afraid that demand for it would vanish over time, which makes me reluctant to invest skills in its ecosystem. It seems so…

What would convince you?

* top companies using it? (shopify, github, stripe)

* number of stars on github for projects? https://github.com/rails/rails has 50k stars

* place in the Redmonk language rankings? https://redmonk.com/sogrady/2021/08/05/language-rankings-6-2... shows it at #9

* ability to get a good paying job? https://marketing.dice.com/pdf/2020/Dice_2020_Tech_Salary_Re... has the ruby salary at 114k, more than typescript/javascript

I am an active member of the ruby community so am definitely biased, but I'd love to know. Sorry if that's combative, but I always wonder how folks choose languages based on popularity. If there's anything folks can point at, or if it is more of a gut feel. (Unless it is javascript or C, which are always going to be around because of their huge deployed base.)

Edit: added place in the redmonk ratings. Changed to be less combative.

Re: Ruby Together

#4
post #3

I'm a a typescript/java engineer. I would say my lifetime code stats are probably around 40% JS / 35% Typescript / 15% Java / 8% Python / 2% other. That is to say, I've barely ever written any Ruby outside of the occasional little script. And yet it's secretly my favorite language. I wish I wasn't afraid that demand for it would vanish over time, which makes me reluctant to invest skills in its ecosystem. It seems so…

What would convince you? * top companies using it? (shopify, github, stripe) * number of stars on github for projects? https://github.com/rails/rails has 50k stars * place in the Redmonk language rankings? https://redmonk.com/sogrady/2021/08/05/language-rankings-6-2... shows it at #9 * ability to get a good paying job? https://marketing.dice.com/pdf/2020/Dice_2020_Tech_Salary_Re... has the ruby salary at 114k, more t…

The usual reason given is lack of libraries compared to python. I started a project a while ago with the idea that you could create a ruby library that would implement the C python extension API using the ruby C extension library... I got some basic stuff working, so you could "import" a basic python C extension in ruby (after recompiling it against my headers/library). Then you can use a python -> ruby transpiler (which does exist) to convert the python parts of the code to ruby and maybe have stuff "just work". The more I got into it though, it seemed pretty daunting to get something like numpy working... so I have stopped for now.

Re: Ruby Together

#5
post #3

Earlier quoted context omitted.

What would convince you? * top companies using it? (shopify, github, stripe) * number of stars on github for projects? https://github.com/rails/rails has 50k stars * place in the Redmonk language rankings? https://redmonk.com/sogrady/2021/08/05/language-rankings-6-2... shows it at #9 * ability to get a good paying job? https://marketing.dice.com/pdf/2020/Dice_2020_Tech_Salary_Re... has the ruby salary at 114k, more t…

The usual reason given is lack of libraries compared to python. I started a project a while ago with the idea that you could create a ruby library that would implement the C python extension API using the ruby C extension library... I got some basic stuff working, so you could "import" a basic python C extension in ruby (after recompiling it against my headers/library). Then you can use a python -> ruby transpiler (w…

I'm not sure what Python library you couldn't find an equivalent for in rubygems. I never had a problem finding what I needed. (Maybe some ML or related fields?)

Depending on the size of the library it might make sense to rewrite it. Using C extensions is more popular than Python or other languages

Re: Ruby Together

#6
post #3

Earlier quoted context omitted.

What would convince you? * top companies using it? (shopify, github, stripe) * number of stars on github for projects? https://github.com/rails/rails has 50k stars * place in the Redmonk language rankings? https://redmonk.com/sogrady/2021/08/05/language-rankings-6-2... shows it at #9 * ability to get a good paying job? https://marketing.dice.com/pdf/2020/Dice_2020_Tech_Salary_Re... has the ruby salary at 114k, more t…

The usual reason given is lack of libraries compared to python. I started a project a while ago with the idea that you could create a ruby library that would implement the C python extension API using the ruby C extension library... I got some basic stuff working, so you could "import" a basic python C extension in ruby (after recompiling it against my headers/library). Then you can use a python -> ruby transpiler (w…

Ah, good point. Domain does matter. But that didn't seem to be what the original poster was pointing to.

Based on my ambient knowledge, I wouldn't want to write anything in the machine learning space in ruby. Or for that matter in any language other than python (or maybe scala/java, if you are using spark).

Or are you suggesting that python has more/superior libraries compared to ruby across the board?

Re: Ruby Together

#7

I'm a a typescript/java engineer. I would say my lifetime code stats are probably around 40% JS / 35% Typescript / 15% Java / 8% Python / 2% other. That is to say, I've barely ever written any Ruby outside of the occasional little script. And yet it's secretly my favorite language. I wish I wasn't afraid that demand for it would vanish over time, which makes me reluctant to invest skills in its ecosystem. It seems so…

I understand job security and demand is important.

But for me the most important has always been to enjoy myself as much as possible. That's also how I can do my best every day. If that means having a 10% lower salary or half the number of job postings I'm fine with it.

If I really needed to find a non Ruby job I'm sure I still could, there's enough demand in general.

Re: Ruby Together

#8

I'm a a typescript/java engineer. I would say my lifetime code stats are probably around 40% JS / 35% Typescript / 15% Java / 8% Python / 2% other. That is to say, I've barely ever written any Ruby outside of the occasional little script. And yet it's secretly my favorite language. I wish I wasn't afraid that demand for it would vanish over time, which makes me reluctant to invest skills in its ecosystem. It seems so…

I've been doing Ruby development for about 12 years now. I can honestly say I've had more job offers this last year that ever before and the money is honestly pretty great. With the release of Ruby3, Rails7, and many people having JS fatigue it seems like the ruby community has had quite a bit of growth within the last year or two. (not HUGE growth like 10 years ago, but enough that it's still pretty noticeable throughout the community)

Re: Ruby Together

#9

I'm a a typescript/java engineer. I would say my lifetime code stats are probably around 40% JS / 35% Typescript / 15% Java / 8% Python / 2% other. That is to say, I've barely ever written any Ruby outside of the occasional little script. And yet it's secretly my favorite language. I wish I wasn't afraid that demand for it would vanish over time, which makes me reluctant to invest skills in its ecosystem. It seems so…

I am always looking for senior ruby engineers.

Re: Ruby Together

#10
post #3

I'm a a typescript/java engineer. I would say my lifetime code stats are probably around 40% JS / 35% Typescript / 15% Java / 8% Python / 2% other. That is to say, I've barely ever written any Ruby outside of the occasional little script. And yet it's secretly my favorite language. I wish I wasn't afraid that demand for it would vanish over time, which makes me reluctant to invest skills in its ecosystem. It seems so…

What would convince you? * top companies using it? (shopify, github, stripe) * number of stars on github for projects? https://github.com/rails/rails has 50k stars * place in the Redmonk language rankings? https://redmonk.com/sogrady/2021/08/05/language-rankings-6-2... shows it at #9 * ability to get a good paying job? https://marketing.dice.com/pdf/2020/Dice_2020_Tech_Salary_Re... has the ruby salary at 114k, more t…

What you say means it's worth learning if you can land in the right company which is quite risky.

Besides, unless a language has a strong point compared to others, it's a hard sell, like PHP is good on web, JS is known by everyone and ecosystem is huge and python is good for ML and scientific stuff but what's the selling point of ruby besides rails?

With that said I do like the language itself (but not the typing system in 3) and would like to use if there's a place for it.

Post reply on HN