タグ

elixirに関するellerのブックマーク (1)

  • The Elixir programming language

    All Elixir code runs inside lightweight threads of execution (called processes) that are isolated and exchange information via messages: current_process = self() # Spawn an Elixir process (not an operating system one!) spawn_link(fn -> send(current_process, {:msg, "hello world"}) end) # Block until the message is received receive do {:msg, contents} -> IO.puts(contents) end Due to their lightweigh

    The Elixir programming language
    eller
    eller 2014/10/07
    “Elixir is a dynamic, functional language designed for building scalable and maintainable applications. ”
  • 1