title: What is Erlang written in?
body: <p>What is Ericsson's implementation of Erlang and Erlang/OTP written and compiled in? Is is assembly, C or Erlang itself?</p>
  
  <p>Update 1: Thanks to DrJokepu. If I understand correctly, Erlang source-to-VM compiler is written in Erlang itself. But the VM is written in C.</p>
  
  <p>Update 2: Hynek-Pichi-Vychodil pointed out a lot of details.</p>
  
  <ul>
  <li>VM and HW interacting drivers: in C.</li>
  <li>Compiler (to VM) and libraries: in Erlang.</li>
  <li>Extensions: Possible in any language by writing a port or an Erlang node in that language.</li>
  </ul>