Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror

Comment Re:Ruby and Rails are still great (Score 1) 148

The other thing about this particular set of benchmarks is that it's actually selecting for languages with good parallel threading support and concurrency in general, which has been a weak point of Ruby until recently. I don't know what threading approach they used but there are newer approaches such as Fibers instead of Threads, or the Ractor pattern. They also left elixir and erlang off the list. Elixir is a language with Ruby-like semantics but the concurrency of erlang. I'd be interested to see how it compares to JS.

Comment Re:Ruby and Rails are still great (Score 1) 148

These synthetic benchmarks that timed out probably aren't configured properly. For the ones that did run, ruby got decent performance considering they are using truffleruby which requires extensive tuning to take advantage of the JIT, and it likely isn't set up to do that, tweaking gc, and showing high memory usage. On a cursory look at their implementation https://github.com/hanabi1224/... it could certainly be improved to use hashes instead of recursively creating objects. The reality is that you aren't going to be computationally bound for common web application tasks. Synthetic benchmarks really just show that ruby is perfectly fine. I'm sure a knowledgeable ruby core contributor could show some significant performance gains in the ruby results here and probably the same could be said for python and other similar languages.

Comment Re:If you want to know what happened to Ruby (Score 1) 148

Nowadays I use asdf but you can solve this easily with rvm or rbenv. Which should probably be part of the standard ruby package management distribution, just as nvm is needed to use nodejs properly. If you try to run with a system library things are hard. Same thing with using the system python without virtualenv or anaconda or whatever.

Comment Ruby and Rails are still great (Score 4, Interesting) 148

For my money, and I've been programming since the 90s and software engineering professionally since 2008, Ruby on Rails is a great solution for a company to build a form-driven web application. In many cases the performance is quite good and you can get something built that works well with a short development time. The community can't be beat and the libraries have a lot of rich functionality. Most of the myths and canards about Ruby and Rails are no longer true, if they even ever were. The main problem with Ruby is that it doesn't have a Google or a Microsoft behind it, although Github uses tons of Ruby. As does Shopify. As does Apple.

Comment Of course they do (Score 2, Informative) 49

Of course they do. Propaganda has been helping, for example, the election of Marcos in the Philippines or the rise of fascism abroad. Nationalists and paid trolls brigade Wikipedia to try to push a narrative. Google has in many cases amplified misinformation by relying too heavily on so-called "machine learning" algorithms - that have a high error rate and do not learn as a human learns.

Slashdot Top Deals

With your bare hands?!?

Working...