https://github.com/stratus3d/elixir_erlang_for_rubyists
Code used for the demos in my "Elixir: The Power of Erlang for Rubyists" talk
https://github.com/stratus3d/elixir_erlang_for_rubyists
Last synced: 8 months ago
JSON representation
Code used for the demos in my "Elixir: The Power of Erlang for Rubyists" talk
- Host: GitHub
- URL: https://github.com/stratus3d/elixir_erlang_for_rubyists
- Owner: Stratus3D
- License: mit
- Created: 2014-08-16T16:03:35.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-10-16T20:44:42.000Z (over 11 years ago)
- Last Synced: 2025-02-09T00:19:35.478Z (over 1 year ago)
- Language: Elixir
- Size: 268 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
#Elixir: The Power of Erlang for Rubyists
Stratus3D
##Introduction
Code used for the demos in my "Elixir: The Power of Erlang for Rubyists" talk. Code samples used in the slides during the talk are stored in `.ex` files in the `code_samples/` directory. Each demo is also stored in it's own directory.
##Demos
###Ping Pong
Two processes sending messages back and forth. Creates an infinite loop.
###ProcessChain
Thousands of processes arranged in a loop passing messages around the loop. Demonstrates the efficiency of the Erlang VM’s ligtweight process creation and message passing.
###Tennis
Two processes sending messages back and forth to simulate a simple tennis match. When a player loses the process dies and sends the winner a message.