I've developed a lot of websites with PHP but sometime after learning C programming I found out that it's possible to do the same thing using C CGI. But I still don't know if it will be worth switching to C CGI because I don't know what are the main advantages and disadvantages that C CGI has over PHP. While talking to a friend that develops sites using ASP.NET he told me that one of the biggest advantages that compiled languages have over interpreted ones on the web is that they are a lot faster mainly for websites that receive a lot of visitors frequently for they are pre-compiled. Other than that what are the other advantages and disadvantages that C CGI has over PHP?
Which one will be more secure to use when creating web applications?
Which one of the two is more vulnerable to code injections?
Is C CGI still used nowadays?
Does it still get updates or have they stopped developing?
Please I would appreciate if you didn't give me answers such as : Choose PHP because it's open source... Or Choose the one that you think you are good at etc...
Thanks in advance.