title: C or C++ to write a compiler?
body: <p>I want to write a compiler for a custom markup language, I want to get optimum performance and I also want to have a good scalable design.</p>
  
  <p>Multi-paradigm programming language (C++) is more suitable to implement modern <a href="http://en.wikipedia.org/wiki/Design_pattern_%28computer_science%29" rel="nofollow">design patterns</a>, but I think that will degrade performance a little bit (think of <a href="http://en.wikipedia.org/wiki/Run-time_type_information" rel="nofollow">RTTI</a> for example) which more or less might make C a better choice.</p>
  
  <p>I wonder what is the best language (C, C++ or even objective C) if someone wants to create a modern compiler (in the sense of complying to modern software engineering principles as a software) that is fast, efficient, and well designed.</p>