In my mind, a scripting language is one you use to crate a piece of code that runs from beginning to end synchronously, and then quits (i.e. a script). When coded "correctly", they only require and declare the functions necessary for that specific instance of the script. Languages built for these sorts of purposes would include PHP, Bash/Shell, and Python.
At the other end is a piece of code that starts up and continues running, serving any requests that come in, and for performance reasons typically "idles" during low-activity times. Languages that are built for this type of code typically include Java.
What is the name for the latter type of code? And what is the name for the class of programming languages typically designed for such tasks?
Aucun commentaire:
Enregistrer un commentaire