Skip to content

Instantly share code, notes, and snippets.

View kmittal01's full-sized avatar

Kshitij Mittal kmittal01

View GitHub Profile
@kmittal01
kmittal01 / elixir_resources
Last active November 24, 2016 12:27
Elixir Resources
Online Tutorials and Reading Materials
=====================================
http://elixir-lang.org/docs/stable/elixir/ [free]
https://elixirschool.com/ [free] [recommended for beginners]
https://www.tutorialspoint.com/elixir/index.htm [free]
Books
=====
http://www.amazon.in/Programming-Elixir-Dave-Thomas/dp/1937785580 [paid][recommended book for beginners]
https://www.amazon.in/Metaprogramming-Elixir-Write-Less-Code-ebook/dp/B00U1VU2GA [paid]
@jboner
jboner / latency.txt
Last active October 21, 2025 18:15
Latency Numbers Every Programmer Should Know
Latency Comparison Numbers (~2012)
----------------------------------
L1 cache reference 0.5 ns
Branch mispredict 5 ns
L2 cache reference 7 ns 14x L1 cache
Mutex lock/unlock 25 ns
Main memory reference 100 ns 20x L2 cache, 200x L1 cache
Compress 1K bytes with Zippy 3,000 ns 3 us
Send 1K bytes over 1 Gbps network 10,000 ns 10 us
Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD