News for hackers. Stuff that matters.
Re:A first naïve look at Truffle Ruby by mmanfrin on Friday February 02, 2018 @07:42PM (#16295414)
I think a lot of the problems with Ruby are really problems with the nature of Rails jobs over the past 5 years. Lots of juniors (which is great) in a field where people change jobs every year or two (which is okay, but horrible from a codebase standpoint). Giant monorails applications grow strata of different generations of code/teams/opinions; and each new generation of engineer on the project adds their own stamp on top. It leads to situations where you have enormous applications that are so deeply entagled within themselves that it becomes nearly impossible to refactor out poor performing bits of the app.

It reminds me of the Kowloon Walled City[1] -- originally a (likely cleanly built) fort that took on more and more people until it became a morass of people and buildings with no consistency or strong structural concerns.

Then Rails (and Ruby) get this reputation for being a Kowloon rather than the Fort.

Not that ruby is not slow compared to other languages, but it's not as slow as perceived.

[1](https://en.wikipedia.org/wiki/Kowloon_Walled_City)

Re:A first naïve look at Truffle Ruby by barrkel on Saturday February 03, 2018 @02:29AM (#16296659)
I've found Ruby to be faster than Python these days; it's node.js that beats it, for obvious reasons. I don't think JS has fewer problems around mutability and and monkey patching though.
Re:A first naïve look at Truffle Ruby by paulddraper on Sunday February 04, 2018 @03:58PM (#16304890)
Are you talking about CPython or PyPy? MRI, Rubinius, JRuby?

Perf characteristics differ wildly between those.

Re:A first naïve look at Truffle Ruby by ksec on Saturday February 03, 2018 @08:03AM (#16297453)
On Walled City

It wasn't really cleanly built. And there are lots of stories in there. And the Japanese seems to love it.

I always wonder if someday we could rebuilt the whole thing as Hotel, resort and tourist attraction.