First encounter with Elixir - Some random things

download First encounter with Elixir - Some random things

If you can't read please download the document

description

A very short talk held at Stockholm Elixir meetup on Sep 30 2014 in Stockholm

Transcript of First encounter with Elixir - Some random things

  • 1. First encounter with ElixirA few impressions and thoughtsSamuel LampaUppsala [email protected]

2. GC ratio calculation DNA has four letters (bases): A, C, G, T GC ratio is the:ratio of Gs and Cs, compared to As and Ts. Sequences are stored in ASCII text files, witharound 80 characters per line. Header lines in the file start with > and shouldbe skipped. Unknown bases are denoted with N. 3. DNA Fasta file example 4. GC ratio calculation in Python 5. GC ratio c alculation in Elixir 6. Elixir processes vs Go channels Elixir processes: Named mailboxes Mailbox and process tied together Go channels Anonymous, no name Channels are separate from go routines (can besent around, sent to functions etc). More? 7. Thank you!Samuel LampaUppsala [email protected] 8. Thank you!Samuel LampaUppsala [email protected]