欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2, C++/F#/Lisp
Elixir
来自开放百科 - 灰狐
(版本间的差异)
小 (→项目) |
小 (→项目) |
||
第46行: | 第46行: | ||
*[https://github.com/h4cc/awesome-elixir Awesome Elixir] [[image:awesome.png]] | *[https://github.com/h4cc/awesome-elixir Awesome Elixir] [[image:awesome.png]] | ||
*[[phoenix framework]] | *[[phoenix framework]] | ||
+ | *[https://github.com/riverrun/openmaize openmaize] Authentication library for Plug-based applications in Elixir | ||
*[https://github.com/falood/maru Maru] Elixir [[REST|RESTful]] Framework | *[https://github.com/falood/maru Maru] Elixir [[REST|RESTful]] Framework | ||
*[https://github.com/garyf/json_web_token_ex JSON Web Token] | *[https://github.com/garyf/json_web_token_ex JSON Web Token] | ||
*[https://github.com/ericmj/mongodb MongoDB driver for Elixir] | *[https://github.com/ericmj/mongodb MongoDB driver for Elixir] | ||
*[https://github.com/ntrepid8/ex_crypto ExCrypto] | *[https://github.com/ntrepid8/ex_crypto ExCrypto] | ||
+ | *[elixir-bson] [http://www.bsonspec.org/ BSON] implementation for Elixir Language | ||
+ | *[https://github.com/graphql-elixir/graphql GraphQL Elixir] | ||
+ | *[https://github.com/chvanikoff/apns4ex APNS for Elixir] | ||
+ | *[https://github.com/carnivalmobile/gcm Elixir library to send pushes through GCM] | ||
+ | *[https://github.com/hamiltop/rethinkdb-elixir rethinkdb-elixir] [[RethinkDB]] driver for Elixir | ||
+ | *[https://github.com/kafkaex/kafka_ex KafkaEx] Apache Kafka client for Elixir/[[Erlang]]. | ||
+ | *[https://github.com/SenecaSystems/imagineer imagineer] Image parsing in Elixir, No external dependencies. | ||
+ | *[https://github.com/reset/hash-ring-ex HashRing] A consistent hash ring implemention for Elixir | ||
+ | *[https://github.com/edgurgel/tentacat Tentacat] Simple Elixir wrapper for the [http://developer.github.com/ GitHub API]. | ||
+ | *[https://github.com/jeffweiss/plug_statsd PlugStatsd] Send connection response time and count to statsd | ||
+ | *[https://github.com/nerves-project/nerves Nerves] Create firmware for embedded devices like Raspberry Pi, BeagleBone Black, and more | ||
==文档== | ==文档== |
2016年8月1日 (一) 09:37的版本
您可以在Wikipedia上了解到此条目的英文信息 Elixir Thanks, Wikipedia. |
Elixir 是一个基于 Erlang 虚拟机的函数式、面向并行的通用编程语言(Apache v2许可协议)。Elixir 以 Erlang 为基础,支持分布式、高容错、实时应用程序的开发,同时亦对其进行扩展使之借助宏实现元编程,并通过协议支持多态。
目录 |
特性
- 基于 Erlang 虚拟机(BEAM)之上;
- 与 Erlang 语言的无缝衔接,与 Erlang 的互调几乎无任何额外开销;
- 基于宏的元编程能力,语言的抽象语法树作为头等公民;
- 基于协议的多态实现,启发自Clojure;
- 完善的文档支持;
- 通过消息传递(参与者模式)支持 Shared-nothing 并行事务;
- 强调利用递归和高阶函数的函数式编程胜过基于副作用和循环的命令式编程;
- 一切均为表达式;
- 惰性求值,拥有诸如 futures 和 promises 一类的异步流数据类型;
- 模式匹配;
- Unicode 支持,UTF-8 字符串。
指南
OS X
brew install elixir 或者 sudo port install elixir // MacPorts elixir 包
Linux
yum install elixir sudo apt-get install elixir
FreeBSD
pkg install elixir
交互
elixir -v iex iex> 1 + 1 2 iex> "hello" <> " world" "hello world"
脚本
$ vim simple.exs IO.puts "Hello world from Elixir" $ elixir simple.exs Hello world from Elixir
Emacs
项目
- Awesome Elixir
- phoenix framework
- openmaize Authentication library for Plug-based applications in Elixir
- Maru Elixir RESTful Framework
- JSON Web Token
- MongoDB driver for Elixir
- ExCrypto
- [elixir-bson] BSON implementation for Elixir Language
- GraphQL Elixir
- APNS for Elixir
- Elixir library to send pushes through GCM
- rethinkdb-elixir RethinkDB driver for Elixir
- KafkaEx Apache Kafka client for Elixir/Erlang.
- imagineer Image parsing in Elixir, No external dependencies.
- HashRing A consistent hash ring implemention for Elixir
- Tentacat Simple Elixir wrapper for the GitHub API.
- PlugStatsd Send connection response time and count to statsd
- Nerves Create firmware for embedded devices like Raspberry Pi, BeagleBone Black, and more
文档
图集
链接
分享您的观点