I've written a fairly intensive app that uses a mysql database. About 1000 lines of code with maybe 15-20 sql queries, and some data manipulation, including regular expressions.
Now I used php (an interpreted language) for this and I get an execution time of a little over 1/3 of a second on my Pentium IV. That, of course, doesn't count the time to compile it.
So I'm wondering if it would be worthwhile to rewrite it in a .net language and compile it? Visual basic would be easiest, but would it be seriously slower in my situation than C# or C++? I know that C languages are usually very fast, but I don't think I'd be doing anything really low-level anyway. Hoping you guys might be able to help me make a decision here. Also should I rewrite it in a .net language which would be better to use, ODBC or OLE-DB/ADO? I think ADO is easier, but is ODBC maybe faster? Or would it not really matter?
Thanks for your time, any input is welcome
Dan
Now I used php (an interpreted language) for this and I get an execution time of a little over 1/3 of a second on my Pentium IV. That, of course, doesn't count the time to compile it.
So I'm wondering if it would be worthwhile to rewrite it in a .net language and compile it? Visual basic would be easiest, but would it be seriously slower in my situation than C# or C++? I know that C languages are usually very fast, but I don't think I'd be doing anything really low-level anyway. Hoping you guys might be able to help me make a decision here. Also should I rewrite it in a .net language which would be better to use, ODBC or OLE-DB/ADO? I think ADO is easier, but is ODBC maybe faster? Or would it not really matter?
Thanks for your time, any input is welcome
Dan