Download Learning Elixir by Kenny Ballou PDF

By Kenny Ballou

Elixir, in response to Erlang's digital desktop and atmosphere, makes it more uncomplicated to accomplish scalability, concurrency, fault tolerance, and excessive availability objectives which are pursued through builders utilizing any programming language or programming paradigm. Elixir is a contemporary programming language that makes use of the advantages provided via Erlang VM with out fairly incorporating the complicated syntaxes of Erlang.

Learning to application utilizing Elixir will educate many stuff which are very invaluable to programming as a craft, whether on the finish of the day, the programmer isn't utilizing Elixir. This ebook will educate you recommendations and rules very important to any advanced, scalable, and resilient program. commonly, functions are traditionally tough to cause approximately, yet utilizing the options during this ebook, they'll turn into effortless and stress-free. it is going to educate you the sensible programing ropes, to let them to create higher and extra scalable functions, and you'll discover how Elixir can help in achieving new programming heights. additionally, you will glean an organization realizing of fundamentals of OTP and the on hand frequent, supplied performance for growing resilient advanced platforms. moreover, you are going to study the fundamentals of metaprogramming: enhancing and lengthening Elixir to suite your wishes.

Show description

Read Online or Download Learning Elixir PDF

Best programming books

How to Do Everything with HTML

One other liberate in our renowned how you can Do every thing sequence, this pleasant, solutions-oriented ebook is stuffed with step by step examples for writing HTML code. every one bankruptcy starts with the categorical how-to subject matters that may be coated. in the chapters, every one subject is followed by way of a fantastic, easy-to-follow walkthrough of the method.

ZooKeeper: Distributed process coordination

Building allotted functions is hard sufficient with no need to coordinate the activities that cause them to paintings. This useful advisor indicates how Apache ZooKeeper is helping you deal with allotted structures, so that you can concentration generally on program good judgment. regardless of ZooKeeper, imposing coordination projects isn't trivial, yet this booklet presents solid practices to offer you a head commence, and issues out caveats that builders and directors alike have to look forward to alongside the way.

In 3 separate sections, ZooKeeper individuals Flavio Junqueira and Benjamin Reed introduce the foundations of disbursed structures, supply ZooKeeper programming recommendations, and comprise the data you must administer this service.
• learn the way ZooKeeper solves universal coordination initiatives
• discover the ZooKeeper API’s Java and C implementations and the way they vary
• Use how to song and react to ZooKeeper country adjustments
• deal with mess ups of the community, program procedures, and ZooKeeper itself
• know about ZooKeeper’s trickier elements facing concurrency, ordering, and configuration
• Use the Curator high-level interface for connection administration
• get to grips with ZooKeeper internals and management instruments

iOS 9 Programming Fundamentals with Swift: Swift, Xcode, and Cocoa Basics

Stream into iOS improvement by means of getting a company seize of its basics, together with the Xcode IDE, the Cocoa contact framework, and quick 2. 0—the most modern model of Apple's acclaimed programming language. With this completely up-to-date advisor, you'll research Swift’s object-oriented innovations, know the way to take advantage of Apple's improvement instruments, and become aware of how Cocoa presents the underlying performance iOS apps have to have.

Microsoft Windows 2000 and IIS 5.0 administrator's pocket consultant

This e-book is superb while you're operating a server with home windows 2000 and IIS. for those who run into difficulties or have questions whilst surroundings issues up or conserving them it's a quickly reference for solutions.

Extra resources for Learning Elixir

Sample text

We are going to explore some more structural elements of Elixir code and begin our discussion of pattern matching. Everything is an expression We have hinted at this concept in the previous chapter, but let's discuss it in more detail here. In Elixir, there are no statements. Everything is an expression. Let's break this down. Statements typically refer to instructions where the programmer specifies to the computer or runtime to perform some action. This action could, for example, add two numbers together and assign the value to a variable.

Thus, 42 is returned, because it is the last evaluated value of the two. On top of the typical boolean operators, we have access to some other operators that allow us to determine types and minor inspection: • • • • • is_boolean/1 is_atom/1 is_integer/1 is_float/1 is_number/1 Remember, Elixir functions are described by {name}/{arity}. info Elixir Basics – Foundational Steps toward Functional Programming For example: iex(14)> is_boolean(true) true iex(15)> is_boolean(1) false iex(16)> is_atom(false) true Okay, I lied.

The IEEE-754 standard, first introduced in 1985, defines a couple of terms we need to become familiar with for our discussion. There is the sign, the exponent, the fraction or mantissa, and the bias. The sign is denoted by the most significant bit. The exponent is given 11 bits, and the fraction is given 52 bits. The bias is just a constant for the exponent value. With 11 bits for the exponent, we can store numbers between -1024 to 1023, or without the sign, 0 to 2047. We use the bias to keep the sign bit out of the number; however, we don't gain more precision here, this just has to do with the arithmetic involved.

Download PDF sample

Rated 4.70 of 5 – based on 5 votes