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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Facebook open sources Haxl

317 点作者 ainsej将近 11 年前

13 条评论

AaronFriel将近 11 年前
This is a fascinating project. Haxl is the brainchild of former Glasgow Haskell Compiler lead* Simon Marlow.<p>The tl;dr of Haxl: what if you could describe accessing a data store (a la SQL) and have the compiler and library work together to &quot;figure out&quot; the most efficient way to perform queries, including performing multiple queries in parallel? That&#x27;s what Haxl does, it allows you to specify the &quot;shape&quot; of your query, the type checker verifies its correctness, and the library executes it in parallel for you, without the developer having to know about synchronizing access or anything.<p>Here&#x27;s a link to their paper (PDF): <a href="http://www.haskell.org/wikiupload/c/cf/The_Haxl_Project_at_Facebook.pdf" rel="nofollow">http:&#x2F;&#x2F;www.haskell.org&#x2F;wikiupload&#x2F;c&#x2F;cf&#x2F;The_Haxl_Project_at_F...</a><p>* - I am not sure if he&#x27;s still committing, or if he&#x27;s only doing application development. His accomplishments in Haskell land though, are many.<p>Edited: I removed my comment about GitHub issues, seems it&#x27;s a known problem. :)
评论 #7874750 未加载
评论 #7874619 未加载
评论 #7878249 未加载
评论 #7874370 未加载
评论 #7888031 未加载
评论 #7877387 未加载
simonmar将近 11 年前
Here&#x27;s our paper about the ideas behind Haxl: <a href="http://community.haskell.org/~simonmar/papers/haxl-icfp14.pdf" rel="nofollow">http:&#x2F;&#x2F;community.haskell.org&#x2F;~simonmar&#x2F;papers&#x2F;haxl-icfp14.pd...</a>
评论 #7875768 未加载
评论 #7883559 未加载
lbrandy将近 11 年前
Hi. I&#x27;m one of the engineers who has worked on this so if anyone has any specific questions I can help answer and&#x2F;or get someone to answer.<p>As said by @nbm, we also have a blog post up: <a href="https://code.facebook.com/posts/302060973291128/open-sourcing-haxl-a-library-for-haskell/" rel="nofollow">https:&#x2F;&#x2F;code.facebook.com&#x2F;posts&#x2F;302060973291128&#x2F;open-sourcin...</a>.
评论 #7874357 未加载
评论 #7874404 未加载
评论 #7874501 未加载
评论 #7874693 未加载
评论 #7876300 未加载
nbm将近 11 年前
The release blog post is here - <a href="https://code.facebook.com/posts/302060973291128/open-sourcing-haxl-a-library-for-haskell/" rel="nofollow">https:&#x2F;&#x2F;code.facebook.com&#x2F;posts&#x2F;302060973291128&#x2F;open-sourcin...</a><p>It contains a lot more information about the problem it was originally created to solve, and potential other use cases.
JonCoens将近 11 年前
I&#x27;m an engineer on the Haxl project and am really excited to launch this today. Ask me anything!
评论 #7877028 未加载
评论 #7874489 未加载
评论 #7874955 未加载
评论 #7874522 未加载
fiatjaf将近 11 年前
<a href="http://hackage.haskell.org/package/haxl" rel="nofollow">http:&#x2F;&#x2F;hackage.haskell.org&#x2F;package&#x2F;haxl</a><p>Why do Haskell libraries on Hackage doesn&#x27;t come even with a single example, getting started, how to use, quick start, nothing, really, just function declarations? This scares Haskell newbies.
评论 #7876113 未加载
评论 #7878430 未加载
评论 #7876368 未加载
edofic将近 11 年前
Slides from Marlow from 9 months ago about Haxl and it&#x27;s workings <a href="https://github.com/meiersi/HaskellerZ/blob/master/meetups/20130829-FPAfternoon_The_Haxl_Project_at_Facebook/The%20Haxl%20Project%20at%20Facebook.pdf?raw=true" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;meiersi&#x2F;HaskellerZ&#x2F;blob&#x2F;master&#x2F;meetups&#x2F;20...</a>
EGreg将近 11 年前
How do you guys batch requests in PHP? You don&#x27;t, right? So this is an intermediate layer basically, and it sends requests every few millisecods and waits to batch things in between?
评论 #7874925 未加载
评论 #7876298 未加载
radnam将近 11 年前
Cool ! Are there any alternatives out there, especially to deal with fault tolerance especially when if we want to establish connection with 100&#x27;s of varied databases?
polskibus将近 11 年前
How does the functionality of Haxl differ from a mature ORM system? I&#x27;m thinking about .NET Entity Framework + LINQ in particular since it not only does the mapping but also assists in query generation, scheduling.
mkesper将近 11 年前
It would be cool if you could transform those tables into HTML tables. They would look prettier (not nice JPG noise) and would also be more accessible.
skyahead将近 11 年前
are there similar things for iOS?
EGreg将近 11 年前
<a href="http://platform.qbix.com/guide/patterns" rel="nofollow">http:&#x2F;&#x2F;platform.qbix.com&#x2F;guide&#x2F;patterns</a> ;-)
评论 #7875714 未加载