programminglanguagetextbooks100534565orig

What's new in the Erlang VM-based Elixir language

Version 1.6 of Elixir, a dynamic functional language that uses Erlang VM, will have improvements for code formatting and compiler diagnostics. The production version should be avaliable in late January.

Intended for the development of easily scalable and maintainable applications, the open source Erlang code runs in lightweight execution threads that are isolated; information is exchanged among these threads through messaging.

Where to download Elixir

You can install Elixir from GitHub. The Elixir source code is on GitHub as well.

New features in Elixir 1.6

Elixir 1.6 is slated to include:

  • A code formatter to automate the styling of code bases into a unique, consistent layout, making code easier to write and read. An accompanying mix format task adds automatic formatting to projects.
  • Changes in compiler diagnostics to make it easier to integrate with editors.
  • The separate DynamicSupervisor module allowing child processes to be started dynamically. Supervisors in Elixir are responsible for starting, stopping, and restarting child processes when something is amiss. Sometimes, children of a supervisor are not known upfront but started dynamically. The new module replaces a strategy known as simple_one_for_one, which changed the semantics of the supervisor around initialization and shutdown.
  • Improvements to the mix xref task, which provides information about dependencies among modules and files in an application. With Elixir 1.6, developers will be able more easily digest the vast amounts of data produced.

Features planned for Elixir 1.7

For the later Elixir 1.7 release, stream data is expected to be the major new feature. It will provide property-based testing and sample data generation. Stream data already has been implemented in a beta form, via a library.

IDG Insider

PREVIOUS ARTICLE

« Aukey is selling its 12,000mAh power bank for $12 right now

NEXT ARTICLE

The Samsung Galaxy X folding phone rumor just won't die and I wish it would »
author_image
IDG News Service

The IDG News Service is the world's leading daily source of global IT news, commentary and editorial resources. The News Service distributes content to IDG's more than 300 IT publications in more than 60 countries.

  • Mail

Poll

Do you think your smartphone is making you a workaholic?