Aspects


vs


Home Page
About Us

Elixir

Elixir is an open-source, dynamic, compiled, general purpose functional programming language

Erlang

Erlang is a general-purpose, garbage-collected programming language and runtime environment, with built-in support for concurrency, distribution and fault tolerance.



Others

Example

In general keyword in elixir can not be translated to erlang proplists since keys in erlang can be of any type but in elixir they have to be atoms;if you have to have more general way of passing erlang proplists from elixir to erlang there is nothing stopping you from constructing them manually in elixir

from question  

How to Create an Erlang property list from Elixir

I agree some mechanisms in elixir are slightly more verbose than erlang function definitions being my personal pet peeve and vice-versa

from question  

Mixing Elixir and Erlang?

You ll need to add the ebin folder of your elixir installation to erlang s load path using -pa or other similar flags like -pz to make erlang load elixir s core libraries as that folder contains the compiled .beam files of elixir core including elixir.io.beam;the error means that erlang could not find a module named elixir.io

from question  

Using Elixir module from Erlang fails

A number in erlang and hence elixir is less than any other type hence nils for x1 and y1 are simply fine

from question  

Calculate the bounding box from a list of points using Elixir

Erlang has a steeper learning curve compared to elixir

from question  

Are there things Elixir can do that Erlang cannot, or vice versa?

Erlang since elixir is built on top of erlang and compiles down to erlang and the beam vm you have access to every erlang module and package;so if you are worried about using elixir and missing out on all of the features of erlang you shouldn t be

from question  

Are there things Elixir can do that Erlang cannot, or vice versa?

If i m not mistaken erlang doesn t know how to handle utf8 in char lists as well so it might be implemented this way for historical reasons;however elixir is nice enough to convert utf8 characters in a char list literal to the appropriate code points so you can later convert it to a binary and get the proper utf8 characters

from question  

Char lists code point atom

I m doing a comparison of erlang haskell elixir and es6 and i m less farmiliar with erlang and elixir but i want to represent all of these languages fairly so is this good erlang code

from question  

Is this Erlang code idiomatic?

Erlang and hence elixir is a dynamically typed language and you might want to have different clauses for different types passed an error message if the types do not conform or just sink the input out or whatever;erlang does not take out the liberty to deal with not proper input in the way you need that is why guards you use is the way to go

from question  

Avoid specifying guard clause when using struct

If you search the erlang questions mailing list you can find plenty of discussion on the topic;note that protocols in elixir are not implemented like that though

from question  

Elixir Protocols in Erlang & a Strange Warning

Back to Home
Data comes from Stack Exchange with CC-BY-SA-4.0