TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Related: Pure Ruby Relational Algebra Engine

102 点作者 flipandtwist将近 9 年前

9 条评论

mmanfrin将近 9 年前
Oooh, this is nice. While learning ML, I was stumbling a bit with python, wishing that Ruby were a good language for working with datasets.<p>For all the faults people find with ruby&#x27;s performance, I don&#x27;t think much can be found wrong with its syntax; it is such a wonderful language to code with.<p>Might I suggest aliasing `&lt;&lt;` to `add_tuple`?
评论 #11756708 未加载
评论 #11758450 未加载
joemi将近 9 年前
I like that it doesn&#x27;t have any dependencies. Makes it easier to read and understand the source, casually (one of my favorite pastimes during lunch breaks lately).
lukeholder将近 9 年前
See also: Axiom[0] and rom-rb[1] (which did use axiom I believe), although, I don&#x27;t know what does or doesn&#x27;t make them &#x27;pure&#x27; relational algebra libraries.<p>[0] <a href="https:&#x2F;&#x2F;github.com&#x2F;dkubb&#x2F;axiom" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;dkubb&#x2F;axiom</a><p>[1] <a href="http:&#x2F;&#x2F;rom-rb.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;rom-rb.org&#x2F;</a>
kristianp将近 9 年前
Reminds me a bit of Project:M36 Relational Algebra Engine, written in Haskell. No nulls allowed.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;agentm&#x2F;project-m36" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;agentm&#x2F;project-m36</a><p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=11465145" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=11465145</a>
评论 #11758747 未加载
cmrdporcupine将近 9 年前
Very nice. I&#x27;m not a Ruby person, but I&#x27;m glad to see someone flying the relational flag.
d4mi3n将近 9 年前
This is neat. It&#x27;s nice to see learning tools like this in a language like Ruby, as many implementations of relational algebra codebases in ruby are pretty complicated (see ActiveRecord&#x2F;ARel and Sequel).
catnaroek将近 9 年前
How does this compare to a pure, recursion-free subset of Prolog? Not counting cosmetic differences, e.g., in Prolog, relation arguments are positional, whereas in the relational model, attributes have names.
评论 #11757767 未加载
评论 #11758749 未加载
jasonm23将近 9 年前
Excellent piece of work.
_uhtu将近 9 年前
I&#x27;m a big fan of ruby but doesn&#x27;t saying &quot;Pure ruby&quot; kind of detract from rather than improve a libraries value? Ideally it would have rust&#x2F;C bindings for all the computationally difficult stuff.
评论 #11757340 未加载
评论 #11757764 未加载
评论 #11758289 未加载