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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

The Haxl Project at Facebook [pdf]

71 点作者 shangaslammi超过 11 年前

6 条评论

omn1超过 11 年前
Wait, Facebook uses Haskell? I had no idea. There is little information about the size of the codebase though. I could only dig up a talk from 2009 and a tool to modify a PHP codebase with abstract-syntax-tree transformers in Haskell [2]. Can somebody give some more insight on their internal use of the language?<p>Anyway I think it&#x27;s great that they have a hybrid codebase. With projects like HipHop and this Haskell backend it looks like they are gradually moving away from PHP as their main language.<p>[1]: <a href="http://cufp.galois.com/2009/abstracts.html#ChristopherPiroEugeneLetuchy" rel="nofollow">http:&#x2F;&#x2F;cufp.galois.com&#x2F;2009&#x2F;abstracts.html#ChristopherPiroEu...</a> [2]: <a href="https://github.com/facebook/lex-pass/tree/master" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;facebook&#x2F;lex-pass&#x2F;tree&#x2F;master</a>
评论 #6301841 未加载
评论 #6302201 未加载
shangaslammi超过 11 年前
These are Simon Marlow&#x27;s slides from his ZuriHac 2013 talk about Facebook&#x27;s Haskell DSL for concurrent queries.
mcintyre1994超过 11 年前
I&#x27;m sort of surprised that Facebook&#x27;s &quot;friends of&quot; is a directed graph, when the actual social graph is undirected. I guess they use enough directed edges for other things in that graph, but I&#x27;m sort of surprised their social graph isn&#x27;t undirected and ridiculously optimised as its own separate thing.
评论 #6303630 未加载
评论 #6302496 未加载
mercurial超过 11 年前
That&#x27;s extremely impressive. Datasources pluggable at runtime, no side-effect guarantee, hot-swapping code...
评论 #6303811 未加载
boothead超过 11 年前
I believe Simon is also talking about this at the London Haskell Exchange at skillsmatter in October. I will definitely be attending this one!!
AznHisoka超过 11 年前
It&#x27;s a shame such cool technology is being put to use for something as trivial as Facebook.
评论 #6302119 未加载
评论 #6303677 未加载
评论 #6303322 未加载