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.

The Haxl Project at Facebook [pdf]

71 pointsby shangaslammiover 11 years ago

6 comments

omn1over 11 years ago
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 未加载
shangaslammiover 11 years ago
These are Simon Marlow&#x27;s slides from his ZuriHac 2013 talk about Facebook&#x27;s Haskell DSL for concurrent queries.
mcintyre1994over 11 years ago
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 未加载
mercurialover 11 years ago
That&#x27;s extremely impressive. Datasources pluggable at runtime, no side-effect guarantee, hot-swapping code...
评论 #6303811 未加载
bootheadover 11 years ago
I believe Simon is also talking about this at the London Haskell Exchange at skillsmatter in October. I will definitely be attending this one!!
AznHisokaover 11 years ago
It&#x27;s a shame such cool technology is being put to use for something as trivial as Facebook.
评论 #6302119 未加载
评论 #6303677 未加载
评论 #6303322 未加载