Hacker News new | ask | show | jobs
by gchp 3238 days ago
> even though it's authored by the maintainer of one of the most massively popular ORMs ever

Just curious, what ORM is that?

2 comments

ActiveRecord. Referencing it is a double-edged sword; Diesel is very much not ActiveRecord, so by saying it up front, people tend to get the wrong impression.
IThat's cool, didn't realise it was the same author.

I understand. The other side of that coin though I guess is that knowing this might give some more confidence in using diesel. ActiveRecord was the first ORM I used, and knowing now that diesel is "from the same stock" (for want of a better phrase) gives some extra confidence in what it can do / where it is going.

Not that I was not confident in it before...

Yup, absolutely, that's the other side of the sword :)
Indeed, the flood of Rails people who went over to Rust have definitely given some people pause to consider the direction it was taking.

I don't see this particular case of someone who spent a significant amount of time coding core Rails OSS library being seen as a negative though, quite the opposite. If anything it would be an excellent measure of the language for that particular use case assuming any competent developer would seek to operate in the constraints of the language rather than shoehorning an existing implementation into something that doesn't fit.

The bigger question is whether the ORM label itself is limiting or can be understood to fit into a broader scope of implementations.

I think people read way too much into the ORM label. Diesel is very much a query builder first, not an ORM. As a random data point, I've been fixing bugs in Rails lately by basically copying over code from Diesel and converting it to Ruby. That code has all been in Arel not Active Record.

I agree that the "I make Rails" thing is a double edged sword. I would hope people would see it as an indicator that I have a lot of experience and lessons to learn from, but I think many people see the opposite.

Thoughts on replacing Arel with Diesel + Helix[0]?

[0] https://github.com/tildeio/helix - When Helix can handle that complexity (if it can't already)