If you are going to create a new language ... and you come to all the semantics, and it was completed, and you had a magic box that had a transition between creating a language, compiled or interpreted, the compiled version will be faster than the interpreted version.
Why? Since compiling brings your semantics to a lower level on the machine, which means that it can run much faster, while interpreting means that the semantics of your language will be translated by some sort of thing (i.e. an interpreter) when the user actually uses your site.
Having said that ... this does not necessarily mean that your site will run 100% faster in a compiled language and an interpreted language. There are translators who are very fast at present for different languages ββ(i.e. PHP), and there are even optimizers for interpreted languages ββthat make them even faster.
There are many other things that affect the performance of your site, which are agnostics of your chosen language. Hardware setup, Database setup, Network topology, etc. These things can have a greater impact on you. I would suggest measuring to be sure.
For me, finding errors during compilation is a huge time saver, so I prefer compiled languages ββthat are strongly typed. This allows me to do my work faster, but this does not make it objectively the best option. Some people have no problem writing weakly typed code and running test suites to test their functionality, which I think will work just as well.
Joseph
source share