Article | REF: H3120 V1

Javascript

Author: Christian Queinnec

Publication date: February 10, 2017

You do not have access to this resource.
Click here to request your free trial access!

Already subscribed? Log in!


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...

You do not have access to this resource.

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

A Comprehensive Knowledge Base, with over 1,200 authors and 100 scientific advisors
+ More than 10,000 articles and 1,000 how-to sheets, over 800 new or updated articles every year
From design to prototyping, right through to industrialization, the reference for securing the development of your industrial projects

This article is included in

Traceability

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

Subscribe now!

Ongoing reading
Competition