Most coins are currently written in a systems-level language such as C or C++. However, all of the rules and protocols that govern how a coin actually exists can usually be implemented in many languages. C++ is usually chosen for performance and safety compared to higher level languages.