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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Operational experiences with Elixir-lang

23 点作者 kangman将近 10 年前
Hi, I would like to know some IRL experiences with the use of Elixir-lang with a focus towards the operational aspects of supporting a Elixir based application. Some big wins, weird quirks? Thanks!

3 条评论

lectrick将近 10 年前
I have built some small projects with it and really like it... in fact, after getting atop most of the learning curve, it&#x27;s hard not to want to just work IN it.<p>Which is a pretty good endorsement, in my book.<p>I will say that the production deployment process and tooling is not purely Elixir at this point (yet). People tend to use the Ruby Capistrano gem to deploy... which works... but to me gives sort of a cognitively dissonant experience :)<p>Another quirk I noticed is that IEEE floating point is not completely supported, for example there is no &quot;Infinity&quot; value and working with large numbers will often get you rounding errors. For example, using the Math.pow function (the ONLY native power function!) ONLY works with floating point values so using it will get you large-number roundoff errors. Some libs have been written to manage numeric data better (in my case I literally had to look up an efficient integer power algorithm and implement it, see <a href="https:&#x2F;&#x2F;github.com&#x2F;pmarreck&#x2F;elixir-snippets&#x2F;blob&#x2F;master&#x2F;math_integer_power.exs" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;pmarreck&#x2F;elixir-snippets&#x2F;blob&#x2F;master&#x2F;math...</a>) but the lack of native support there is weird (and Erlang&#x27;s fault, really), especially coming from Ruby.
dpeck将近 10 年前
<a href="http:&#x2F;&#x2F;www.erlang-in-anger.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.erlang-in-anger.com&#x2F;</a> would probably be a great place to start for this.
dozzie将近 10 年前
And this is exactly why I dislike Elixir hype. You mistake Elixir as the primary platform, while it&#x27;s BEAM&#x2F;Erlang&#x2F;OTP, Elixir being merely syntax wrapper over it.
评论 #9925631 未加载