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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Which functional programming language is the popular enterprise choice?

46 点作者 _mc将近 10 年前
If you use functional languages to build full or part of your application or you are aware of any such commercial applications please share!

26 条评论

_halgari将近 10 年前
Clojure is pretty big in some places. The list here: <a href="http:&#x2F;&#x2F;clojure.org&#x2F;Companies" rel="nofollow">http:&#x2F;&#x2F;clojure.org&#x2F;Companies</a> includes Staples Sparx, Walmart Labs, Groupon, and several other well known names.
DanielBMarkham将近 10 年前
Jane Street is using OCAML. That or F# is my preferred choice.<p>Having said that, the tricky part is sticking to pure FP and coordinating data structures. Not impossible, but it&#x27;s a foreign area for many shops.
评论 #9826486 未加载
评论 #9826728 未加载
detaro将近 10 年前
I&#x27;d guess Scala is the most popular choice, but for nearly every language you&#x27;ll find a company using it for at least parts of their products.
评论 #9826477 未加载
评论 #9826255 未加载
tsm将近 10 年前
Clojure is gaining popularity. Staples uses it (their &quot;SparX&quot; group), and much more notably a Clojure service is used to process every single transaction in Walmart stores.
评论 #9826561 未加载
paulblei将近 10 年前
Scala is getting big in the enterprise. This list <a href="http:&#x2F;&#x2F;www.quora.com&#x2F;What-startups-or-tech-companies-are-using-Scala" rel="nofollow">http:&#x2F;&#x2F;www.quora.com&#x2F;What-startups-or-tech-companies-are-usi...</a> gives a small overview
评论 #9826684 未加载
评论 #9826727 未加载
评论 #9826849 未加载
masida将近 10 年前
Haskell usage by enterprises can be found here: <a href="https:&#x2F;&#x2F;wiki.haskell.org&#x2F;Haskell_in_industry" rel="nofollow">https:&#x2F;&#x2F;wiki.haskell.org&#x2F;Haskell_in_industry</a>
yummyfajitas将近 10 年前
Scala and F# are probably the most popular enterprise choices. Both connect well to existing infrastructures (JVM, .NET), are relatively easy to train new developers on, and have largish companies backing them.<p>Scala is probably the larger of the two options - big users notably include Twitter, Linkedin, Morgan Stanley, JP Morgan, Walmart and Reuters.<p>The use cases for F# tend to be smaller scale and more UI-oriented - internal reporting tools at a hedge fund, for example. That&#x27;s not to say they are simple CRUD apps, merely that F# apps are not usually massive distributed systems.
评论 #9826554 未加载
ryan_richt将近 10 年前
Not a secret -- at Monsanto (Fortune 200) we use Scala heavily now, starting from one project in 2010 and now a dozen teams use it for many many production projects internally and in AWS. Certainly some in the almost 200k LOC range. Scala is replacing Java at Monsanto (and yes we&#x27;re always hiring!)<p>NB: Our Climate Corporation teams are running Clojure.<p>&quot;What is functional?&quot; is a difficult question my partner and I ponder often. As someone else here said, simply having functions as first class values seems insufficient as that would include Perl, JavaScript, C (fxn pointers) and other langs as &quot;functional.&quot; Saying supporting any mutability at all removes your status as &quot;functional&quot; means Lisps aren&#x27;t functional, which seems to ignore the history of FP. Erlang doesn&#x27;t have monadic IO but is highly regarded by many as functional. If our definition essentially includes only Haskell as &quot;functional&quot; then the term seems useless. So we define as functional any lang that supports functions as first class values AND significant enforced immutability.<p>Scala&#x27;s first class functions, default immutable data structures and &quot;val&quot;s compile-time enforcing immutability without too much ceremony put Scala in the FP category for us, along with the Lisps, MLs, F# and Erlang.
quasiresearcher将近 10 年前
Scala is gaining popularity because of Spark <a href="https:&#x2F;&#x2F;spark.apache.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;spark.apache.org&#x2F;</a>
vegancap将近 10 年前
Clojure&#x27;s all the rage at the moment.
glifchits将近 10 年前
Walmart Labs is using Scala for their data science work, according to Julia Greissl, whose talk I saw in Seattle a few days ago.
gclaramunt将近 10 年前
If you consider Scala functional, I think it wins the popularity contest: used by startups and established companies (Linkedin, Twitter, Meetup, Verizon, Morgan Stanley, Autodesk, HuffPo, etc, etc...) and is not &quot;we use it in a dark corner where nobody cares&quot; and more like &quot;betting the whole farm on it&quot;.
评论 #9826788 未加载
vosper将近 10 年前
At my company (publicly traded; &gt;200 engineers) I know that Scala has begun to be picked up by the Java people. We&#x27;re also rolling out Storm (Clojure) but I don&#x27;t know if there&#x27;s anyone actually writing Clojure code.
danwakefield将近 10 年前
Elixir might pick up some mind share, similar to ruby but still keeps its erlang roots.
评论 #9826842 未加载
vertis将近 10 年前
For context I work for publicly traded multinational real estate portal with about 1000 employees.<p>The flow of dominant programming languages has been something like:<p>Perl -&gt; Java,Ruby(Rails+Gems+APIs) -&gt; Java,Scala,Javascript,Ruby<p>Not that those are the only ones floating around at our company, but Scala definitely has a leg up.
yellowapple将近 10 年前
Scala, Clojure, and Erlang come to mind. F# is another possibility, since .NET&#x2F;CLR is becoming increasingly popular in the enterprise (particularly in Windows-heavy datacenters), though I don&#x27;t know of a whole lot of enterprise F# deployments off the top of my head.<p>Erlang&#x27;s a bit of a special case; while you probably won&#x27;t see many enterprises <i>consciously</i> using it (unless they use Jabber&#x2F;XMPP via ejabberd, of course), it&#x27;s rather abundant behind-the-scenes with communication infrastructure, and multiple large telecom providers and OEMs (including - obviously - Ericsson) use it for their equipment and infrastructure.
crimsonalucard将近 10 年前
Why hasn&#x27;t haskell become popular?
评论 #9826971 未加载
评论 #9827035 未加载
评论 #9826672 未加载
评论 #9826811 未加载
lambdaelite将近 10 年前
If you consider it functional, Common Lisp is still used by some very large and established companies: the Lisp HUG mailing list (LispWorks) will frequently have email signatures from some of them. There is some truth to the notion that CL is a competitive advantage and so its use tends not to be discussed in the open.
dreamdu5t将近 10 年前
None, or possibly Haskell.<p>Scala, Clojure, F#, JavaScript aren&#x27;t functional languages. Functional programming is programming with pure functions. It is not &quot;first-class&quot; functions. It is not closures. It is not static typing.
boothead将近 10 年前
The critical distinction here is popular with the people who have to use it or most widespread? :-)
axle_512将近 10 年前
Many have already said it, but Clojure seems to be gaining in popularity.
mikerichards将近 10 年前
Surprisingly, I think Clojure has much more traction than Scala.
评论 #9826753 未加载
ExpiredLink将近 10 年前
None.
AlbozZ将近 10 年前
AlbozZ
mlitchard将近 10 年前
I guess you&#x27;d need to define what you mean by functional language. That term gets thrown around a lot, to the point of meaninglessness. If you mean referentially transparent then neither Scala nor F# are referentially transparent.
评论 #9827039 未加载
frik将近 10 年前
Javascript &#x2F; Nodejs<p>it&#x27;s multi-paradigm: scripting, object-oriented (prototype-based), imperative, <i>functional</i> ( source: <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;JavaScript" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;JavaScript</a> )<p>Many languages known as functional (Scala, F#, Lisp, Scheme, OCaml) are multi-paradigm languages (check out Wikipedia!), purely functional programming language like Haskell are the exception (<a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Purely_functional" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Purely_functional</a> ). And the IO part is hardly functional.<p>@Down voter: care to explain?
评论 #9826682 未加载
评论 #9827020 未加载