To Ruby from Python

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Scout Monitoring - Performance metrics and, now, Logs Management Monitoring with Scout Monitoring
Get early access to Scout Monitoring's NEW Ruby logging feature [beta] by signing up now. Start for free and enable logs to get better insights into your Rails apps.
www.scoutapm.com
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
  • Ruby on Rails

    Ruby on Rails

    example: https://github.com/rails/rails/blob/f95c0b7e96eb36bc3efc0c5b...

  • Scout Monitoring

    Performance metrics and, now, Logs Management Monitoring with Scout Monitoring. Get early access to Scout Monitoring's NEW Ruby logging feature [beta] by signing up now. Start for free and enable logs to get better insights into your Rails apps.

    Scout Monitoring logo
  • unholy

    a ruby-to-pyc compiler

    Not just on the surface. See the ruby to python bytecode compiler: https://github.com/whymirror/unholy

  • unholy

    a ruby-to-pyc compiler - _why mirror (by devyn)

    For some reason it reminded me of _why's unholy:

    https://github.com/devyn/unholy/blob/master/README

  • zeitwerk

    Efficient and thread-safe code loader for Ruby

    There is a gem that does that used by Rails and multiple other gems:

    https://github.com/fxn/zeitwerk

    It is pretty easy to set it up in any Ruby project.

  • Next Rails

    A toolkit to upgrade your next Rails application

    For each version there is an upgrade page. Eg:

    - https://guides.rubyonrails.org/v4.1/upgrading_ruby_on_rails....

    - https://guides.rubyonrails.org/v5.0/upgrading_ruby_on_rails....

    - https://guides.rubyonrails.org/v5.1/upgrading_ruby_on_rails....

    You might want to give a try to this gem: https://github.com/fastruby/next_rails. I did not used it so far but I would have a Rails 4 app I will probably try to use it.

  • inflection

    A port of Ruby on Rails' inflector to Python

    > Could you elaborate on this

    I think it's more than evaluating each feature in isolation like migrations, ORM, template engine, etc..

    As much as I like Python (I use Flask a lot too besides Rails), I always found Rails to include more useful features for building web applications than Django. There's lots of examples but Rails' inflector is one of them. This happens all the time in web apps, which is wanting to output "1 person" or "2 people". Rails give you a template helper for this. Python has options in the form of third party tools like https://github.com/jpvanhal/inflection, but would you rather pull in a third party tool that hasn't been updated in 2+ years or use a solution maintained by a group of folks who are building web apps used by millions of people and then extracted those features into a framework?

    The APIs in Rails feel more intuitive to me (super opinion based of course), but it's like someone tried 10 different variants in a few large web apps, tinkered with it for a while, arrived at a solution and that's the one that ships with Rails. There's so much thought put into everything and you know when it's released it's been put through the ringer at Basecamp, Hey, GitHub and Shopify because those sites all run off Rails master. That's a massive amount of confidence that it'll for you too, and the best part is you get to benefit from that on day 1 when a new stable release is shipped.

    It's not that Django is bad or unstable but in my opinion if I were looking to use a batteries included framework I wouldn't look anywhere else besides Rails. It's just one of those things where it feels like a really good combination of things all came together (Ruby, Matz, DHH, Basecamp, lots of sites using it, enough community support to find blog posts for tons of stuff, great third party SDK support, etc.). You could say a number of languages have similar traits but they lack the first 4 things which are IMO the most important.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Launch HN: Infield (YC W20) – Safer, faster dependency upgrades

    4 projects | news.ycombinator.com | 8 Jun 2023
  • Update Rails 6.1 a Rails 7

    2 projects | dev.to | 31 Jan 2023
  • How to upgrade a Ruby on Rails application?

    4 projects | dev.to | 18 Jan 2023
  • Upgrading a legacy Ruby and Rails application.

    2 projects | /r/rails | 10 Jan 2023
  • Mugshot Bot Acquisition: our side of the story

    2 projects | dev.to | 12 Jan 2022

Did you konow that Ruby is
the 12th most popular programming language
based on number of metions?