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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Elixir and the Internet of Things – What's in a Process?

31 点作者 jambo超过 11 年前

2 条评论

rdtsc超过 11 年前
This idea of modeling multiple concurrent things in the world (TCP connections) with multiple concurrent and isolated things in your application is very popular.<p>That is often the point of Erlang (and now Elixir) and other Actor based frameworks -- starting to think in terms of actors and mailboxes to model your problem.<p>Now it doesn&#x27;t have to be about Erlang. You can spawn OS processes, or threads, or processes on different machines and use RabbitQM or 0MQ. Erlang and Elixir gets you the ability to spawn millions of isolated processes. Typically this not possible if using regular OS processes or even threads. It is possible with goroutines in Go for example, but those are not isolated.<p>If anything just being aware of this mode of developing when today callback-based concurrency and async&#x2F;deferred&#x2F;promise is talked about is important. I think it is a better way to model a problem in most cases.
评论 #7171568 未加载
评论 #7171431 未加载
ksec超过 11 年前
So Elixir is now production ready?