views:

267

answers:

4

Possible Duplicate:
What is the faster ( and slower ) language to do this ?

I want to know what is the faster ( execution time ) language for this simple script ( executed through ajax ):

Pseudocode:

// start code

var str = GET['string']
INSERT SQL
SELECT SQL

// end code

This is a very simple script with 2 simple query.

I want to know what is the faster ( and slower ) language in this case.

Erlang ? C ? C++ ? PHP ? Python ? Ruby ? Java ? ecc...

.

P.S. I am going to use MySql but you can recommend me other DBMS.

+3  A: 

It doesn't matter, the execution time is bounded by the database anyway.

Adam Byrtek
+2  A: 

Don't mind the language to use but the in this case the "quality" of your SQL Query.

Henrik P. Hessel
+2  A: 

Compiled languages would be generally faster, but it won't matter because the database query will probably be the bottleneck anyway.

Tamás Szelei
A: 

Probably all roughly the same, given the accessing the database requires a call out to a separate process and a some I/O it is likely that database queries will prove to be the bottleneck.

Michael Barker