Elixir Quick Introduction

Source: Internet
Author: User
Tags ruby on rails

Elixir: not old longevity medicine; panacea; gold-smelting medicine.

Elixir-lang, designer Josévalim.

Josévalim the name of a language, expressing a good desire (delusion). Although I did not see Josévalim have a clear expression of the meaning of the name, but guess also guessed.

Elixir Home: http://elixir-lang.org/, the latest version of the current release is a bit more important than the previous version of 1.2.x,1.2, such as map. So to learn new elixir, it is best to start directly from 1.2.

Elixir, of course, is open source and can be found on GitHub Https://github.com/elixir-lang/elixir

Elixir because the designer is from the Ruby community, it also provides a package management approach: Hex. Hex resembles Ruby's gems and Nodejs's NPM, very similar.

Hex Home: https://hex.pm/

The most famous thing currently done with Elixir is http://www.phoenixframework.org/, a Web backend framework, similar to Ruby on Rails. Phoenixframework is also written by Josévalim, which is equivalent to using Ruby on Rails to implement this set of things with elixir.

Of course phoenixframework is also open source, the code on the Https://github.com/phoenixframework/phoenix

Most of the good things that are now implemented with Elixir are concentrated here: Https://github.com/h4cc/awesome-elixir. However, since Elixir is a relatively new language, many of the above code is not mature, it is best not to take directly to use, or to see the reference implementation.

Elixir can be called with Erlang, so it is also necessary to look at what good things Erlang has: Https://github.com/drobakowski/awesome-erlang.

Elixir related books have several, but the Chinese version has not yet seen, the English version of the link is as follows:

    • Programming Elixir 1.2, written by the famous Dave Thomas. I think Dave can read all the books, and it's pretty good.
    • Metaprogramming Elixir, speaking Elixir provided by the macro. In fact, the daily writing code, macros used less. But if you want to learn all kinds of bad code, such as Phoenix, you have to understand the use of macros.
    • Programming Phoenix, speaking of Phoenix, the author is Elixir designer Josévalim himself, this is also worth a look.
    • Programming Erlang (2nd edition), Erlang designer Joe Armstrong's famous book. It's a elixir,erlang to learn.

Elixir have and only so few books to see and can see, this is a good thing is bad, the good thing is a total of these, back all down, bad is not a lot of reference, learning to trouble a little.

Since elixir actually enhances Erlang's expressive power, it has little to lose in any of the benefits that Erlang offers. So elixir is a good fit for all the things that Erlang does, and it's more suitable.

Elixir actually combines the features of a variety of predecessor languages (Common Lisp,ruby, Erlang, etc.). So he is actually a practical language, not suitable for beginners beginner. Beginners should learn more about other languages and learn more before learning.

Elixir Quick Introduction

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.