TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Diesel: A Safe, Extensible ORM and Query Builder for Rust

31 pointsby rabidferretover 9 years ago

2 comments

losvedirover 9 years ago
As a rails developer and someone dabbling with rust on the side, I&#x27;m very excited about this! The author is the maintainer of the ruby Active Record gem, which I have a love&#x2F;hate relationship with.<p>I recognize &quot;rabidferret&quot; from &#x2F;r&#x2F;rust as the author! If he&#x27;s around to answer questions, I&#x27;d be curious about some specific examples&#x2F;learnings that you took from Active Record as things that you&#x27;d definitely 1) want to do or 2) not want to do here.<p>For example, as someone who&#x27;s helped out a number of beginner rails developers on IRC and elsewhere, I&#x27;ve found that the distinction between the Active Record object, and the results themselves, is frequently a source of confusion. This could be alleviated by not have #each on the AR object. As another example, I personally am sometimes tripped up by #size using the underlying cached results and #count always triggering a SQL call. Any learnings about the AR API that have affected Diesel&#x27;s?
arthursilvaover 9 years ago
Pretty good for a first release, the docs look great already.