+ 20

Between JavaScript and an ASP script, which is faster?

23rd Jun 2019, 3:46 AM
Keerthana
Keerthana - avatar
3 Respostas
+ 15
JavaScript is faster. JavaScript is a client-side language and thus it does not need the assistance of the web server to execute. On the other hand, ASP is a server-side language and hence is always slower than JavaScript.
23rd Jun 2019, 3:57 AM
Shadow Ninja[#Inactive]
Shadow Ninja[#Inactive] - avatar
+ 2
javascript is faster simply by being a client-side language and doesn’t have to make server requests and other stuff, but that being said, asp.net is a pretty fast server so when comparing server languages, asp is one that’s a good choice
23rd Jun 2019, 9:48 PM
Peter Forbes
Peter Forbes - avatar
+ 1
Yes, javascript is faster than ASP script.Since java scripting is written for client-side machines / browsers, it does not need the web server's support for execution.Hence it is always faster than ASP scripting. Only the computation is done on the server side.ASP is a server side language so it does needs the assistance of the web server which is a time consuming process.PHP, ASP etc. are all server side scripting languages that is why they are slower than the ASP script.
23rd Jun 2019, 3:59 PM
Shabista Imam
Shabista Imam - avatar