7. Competition
Javascript is mono-task non-preemptive. These words mean that the evaluator does only one thing at a time, and only that thing until it is completed. Two major consequences:
each run can be considered to be in the critical section, since nothing can prevent it from being completed;
an infinite loop will never end.
On the other hand, Javascript's primitive execution library (e.g. the one provided by browsers) can perform parallel actions such as fetching pages, images and scripts, and processing them appropriately once their content has been obtained. Communication between these two worlds takes place via events and callbacks. The term callback can also be translated as "return function", but this is less light-hearted than "suite", which will be adopted here. English-language...
Exclusive to subscribers. 97% yet to be discovered!
Already subscribed? Log in!
Competition
Article included in this offer
"Software technologies and System architectures"
(
227 articles
)
Updated and enriched with articles validated by our scientific committees
A set of exclusive tools to complement the resources
Bibliography
- (1) - SELF UNGAR (D.), SMITH (R.B.) - Self : The Power of Simplicity. - OOPSLA '87 Conference Proceedings, pp. 227-241, Orlando, FL, October 1987
Standards
- ECMAScript® 2016 language specification - ECMA-262 - 2016
- IEEE Standard for the Scheme Programming Language...
Exclusive to subscribers. 97% yet to be discovered!
Already subscribed? Log in!