#ruby
Translating code on the web server every time it's needed is certainly more expensive performance-wise than executing precompiled code, as it requires more effort on the part of your machine's processor. The good news is that there are ways to speed up scripted languages, including techniques such as code caching—caching the output of a script for reuse rather than executing the script every time—and persistent interpreters—loading the interpreter once and keeping it running instead of having to load it for every request.
If you want to change selection, open document below and click on "Move attachment"
Scripting Languages, for every web page that your application renders.
As you might have gathered from the name, the use of an interpreter rather than a compiler is the major difference between a scripting language and a compiled language.
<span>Translating code on the web server every time it's needed is certainly more expensive performance-wise than executing precompiled code, as it requires more effort on the part of your machine's processor. The good news is that there are ways to speed up scripted languages, including techniques such as code caching—caching the output of a script for reuse rather than executing the script every time—and persistent interpreters—loading the interpreter once and keeping it running instead of having to load it for every request.
<span><body><html> Summary
status | not read | | reprioritisations | |
---|
last reprioritisation on | | | suggested re-reading day | |
---|
started reading on | | | finished reading on | |
---|
Details