From Rust to Ruby

(xlii.space)

30 points | by xlii 5 hours ago

8 comments

  • encodedrose 10 minutes ago
    >But before I did so I researched first. I asked a few instances to analyse the project in terms of gains of complexity, stability, testability, etc., and while (obviously) stability would drop (no types in Ruby) it’s not that awful (Sorbet has types in Ruby!).

    Is it not a rage-bait argument to say that not having types implies less stability?

    • lmm 6 minutes ago
      No? Maybe the industry can now talk maturely about tradeoffs like that rather than pretending they don't exist.
  • JSR_FDED 3 minutes ago
    This defies belief. “I wanted to scratch a technical itch. My local AI completed the job in 30 minutes. I never pressed Start to see if it works, but I did write a blog post about it…”
  • honeybadger223 5 minutes ago
    Idk why people are shitting on you. So many LLM haters on here. It’s changed the game completely and some people just don’t want to accept it.

    I think this is cool. Verbosity of languages is important when it comes to coding with AI. I’ve found Go to be a happy medium.

  • daemin 1 hour ago
    At first I thought this would be an interesting article, but as soon as they mentioned using an LLM to do the conversion I lost all interest. It's like saying "I wanted this done so I got my underling to do it, here is my story...". Like why would I bother to read it then, as it was clearly not you doing the conversion or putting any thought into it.
  • october8140 1 hour ago
    I'm not sure any language + framework prioritizes developer happiness as much as Ruby on Rails.
    • ch4s3 39 minutes ago
      I get a similar feeling from Elixir and Phoenix without the method_missing foot gun.
  • JSR_FDED 13 minutes ago
    To count lines of rust code:

    fd . -e rs -uu | xargs cat | wc -l

    Why not just:

    find . -name '*.rs' | xargs wc -l

  • h4kunamata 14 minutes ago
    From whatever to Go ... hype!

    From Go to Rust ... hype!

    From Rust to Ruby ... the new hype!?

  • lmm 1 hour ago
    "I have no idea if it works or not because I haven’t yet tried running it. But it's 5x shorter!"