- Mastering Elixir
- André Albuquerque Daniel Caixinha
- 243字
- 2021-08-05 10:42:44
Elixir and Erlang
Elixir, created by José Valim, runs on the Erlang VM (also known as BEAM). Erlang, developed at Ericsson more than 30 years ago, was created to improve the reliability and scalability of the company's telecom systems. Nowadays, it is used in a number of different settings, from database systems to chat applications. Erlang has fault-tolerance and distribution baked into its design, and is famous for running systems with nine nines of reliability.
Erlang's runtime is natively distributed, given that it was designed to be deployed on multiple telecom switches simultaneously. Programs running on the Erlang VM can take advantage of this by easily distributing an application across multiple nodes, but also across multiple CPUs—since multiple cores is just a specific case of a distributed system. This is an incredible selling point of the Erlang VM (and thus of Elixir), since in today's setting CPUs are not getting much faster, and we're instead seeing CPUs with an increasing number of cores coming out.
In this opening chapter, we will be introducing Elixir. Beginning with its data types, we will also look at pattern matching, anonymous and named functions, modules, and some control-flow constructs. Then, we will see how to work with collections, and then we will briefly touch on behaviours and protocols. The chapter will end with an overview of the incredible tooling Elixir provides, along with some ways to exploit the existing interoperability between Elixir and Erlang.
- Arduino開發實戰指南:LabVIEW卷
- 基于免疫進化的算法及應用研究
- 數據結構簡明教程(第2版)微課版
- PhoneGap Mobile Application Development Cookbook
- iOS應用逆向工程(第2版)
- JavaScript 程序設計案例教程
- Python Data Analysis Cookbook
- 軟件測試實用教程
- 區塊鏈技術與應用
- 搞定J2EE:Struts+Spring+Hibernate整合詳解與典型案例
- MINECRAFT編程:使用Python語言玩轉我的世界
- 零基礎學C語言程序設計
- Unity Character Animation with Mecanim
- .NET 4.0面向對象編程漫談:應用篇
- Redmine Cookbook