I'm sick of PHP, I spent almost a month now trying to write a backend for an application which not only is slow, but hard to develop. I once was used to write in PHP, I wrote code for many small sites when I was growing up, but apparently after moving to structured programming, with variable types (WOW!), and sane APIs - where you know intuitively what you'll get in every case, I simply just can't go back.
I'm trying to change that, move the project to a programming language which is more suitable for me (and achieve faster code execution and better performance).
My top candidates are using CGI to run C++ code, or ASP.NET (and attempt to lose the script-like method of coding as much as possible, by exporting the functionality to C#).
My usage needs are simple, JSON data is posted at me (a request), I process the data, and simply "echo" (in PHP terms) a JSON response - so no site development is required from me this time.
My question is: What is more suitable for my needs? I guess that C# development will be much shorter than in C++, what about performance issues? I have seen a performance test that showed that the performances of both the technologies are quite similar, are there any aspects of comparison that I'm missing?
Thanks a lot.