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!
You do not have access to this resource.
Click here to request your free trial access!
Already subscribed? Log in!
The Ultimate Scientific and Technical Reference
This article is included in
Digital documents and content management
This offer includes:
Knowledge Base
Updated and enriched with articles validated by our scientific committees
Services
A set of exclusive tools to complement the resources
Practical Path
Operational and didactic, to guarantee the acquisition of transversal skills
Doc & Quiz
Interactive articles with quizzes, for constructive reading
Competition
Bibliography
Standards
- ECMAScript® 2016 language specification - ECMA-262 - 2016
- IEEE Standard for the Scheme Programming Language - IEEE Std 1178-1990 - 1990
- Information technology Universal Coded Character Set (UCS) - ISO/IEC 10646 : 2014 - 2014
- Standard for Binary Floating – Point Arithmetic - IEEE 754 - 2008
Exclusive to subscribers. 97% yet to be discovered!
You do not have access to this resource.
Click here to request your free trial access!
Already subscribed? Log in!
The Ultimate Scientific and Technical Reference