Live data from Hacker News

From Rust to Ruby

xlii.space

71–80 of 108 posts

Re: From Rust to Ruby

#71
Curious if there are folks (perhaps from ruby community) using crystal for medium/large projects. How has your experience been?

I recently tried it out in a hobby project and was pleasantly surprised at how smooth the overall DX was, and how little memory it consumed.

Re: From Rust to Ruby

#72

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…”

It's the first article on the frontpage now, which means that it doesn't matter the project doesn't work because the readers didn't read.

(Unless bot-pushed of course)

Re: From Rust to Ruby

#73
post #18

Earlier quoted context omitted.

I don't think I've ever been unhappier than working on a Rails project. See a bug on the site - something is rendering incorrectly. grep to find the view. Great, there's a method that is being called to render the buggy section. Grep for the method name - 0 hits. Amazing, it's something that is synthesized somewhere and I have no idea where. Guess I'll stop what I'm doing and read docs for an hour. If you do nothing…

method(:name).source is your friend

`method(:name).source_location`, but yes. Ruby is very introspect-able and it is fantastic.

Re: From Rust to Ruby

#74
post #71

Curious if there are folks (perhaps from ruby community) using crystal for medium/large projects. How has your experience been? I recently tried it out in a hobby project and was pleasantly surprised at how smooth the overall DX was, and how little memory it consumed.

Is there such thing as rails for crystal?

Re: From Rust to Ruby

#75
post #45
post #42

Earlier quoted context omitted.

Honest question: what’s an example of a fully-featured web framework that makes upgrading a “large & old” application painless? In my experience, upgrading an underlying framework that a piece of complex software depends upon without breaking everything pretty much always requires time & good test coverage.

Most Java and .NET ones, not everything breaks, statically compiled, so not as many unit tests required as in dynamic languages. While it is deprecated, you can do a File=>New Project for Web Forms in 2026.

Why do many people mention the need of tests for types in dynamically typed languages?

In Rails my tests are mostly to ensure that a request to a controller returns the expected response and the expected changes in the database. Unit tests are often on validations and the errors they return for invalid data. Then there are functional tests that drive a headless browser.

Re: From Rust to Ruby

#77

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…”

I did however review it over 5 hours. So ¯\_(ツ)_/¯

Re: From Rust to Ruby

#78

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…”

* it wrote a blog post

I assure you Sir/Madam no LLMs were harmed in this post. Grammar would've been much better :)

Re: From Rust to Ruby

#79
Trigger alert - While it is good to signal your 900+ IQ to the peasants around you,many many smart and talented developers don't like rust so much so that they'll prefer writing their own programming language and their own compiler over writing single line of Rust.

Jai and Odin come to mind with Jonathan Blow and Ginger Bill.

Many many more folks that are capable of (and have) written widely used beautiful libraries and frameworks that are evidence of their creativity and depth but we don't want to waste space here.

Rust however has a lovely Macho club a good brotherhood.

Re: From Rust to Ruby

#80
post #39
post #35

Earlier quoted context omitted.

Tell me you haven’t actually taken engineering class by not telling me you haven’t taken an engineering class

Hint: weighted sum

Of what, though? A weird subjective pulled-out-of-the-ass rating system, with also pulled-out-of-the-ass weights? I think that's where GGP's confusion comes from.
Post reply on HN