Elixir is a Programming Language which uses the Erlang virtual machine - BEAM. It’s syntax was inspired by Ruby. It is considered a Functional Programming language.
Installing on Linux:
sudo apt -y install curl git libxml2-utils fop
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.14.0
KERL_BUILD_DOCS=yes asdf install erlang 26.2.1 && asdf install elixir 1.16.0-otp-26 && asdf global elixir 1.16.0-otp-26 Sample module with method:
defmodule MyModule do
def my_method(name) do
IO.puts "Hello #{name}!"
end
endSee also:
- The Soul of Erlang and Elixir • Sasa Juric • GOTO 2019 - good talk focused on BEAM and how it scales and processes are cheap