javascript - Does the EcmaScript specification place any constraints on the process model used to implement the runtime? -


does ecmascript specification place constraints on process model used implement runtime?

for example, event loop required on separate thread thread managing runtime communication operating system io subsystems?

no, not specify those. runtime communication , io not part of language, come implementation-dependent exotic objects.

the ecmascript specification not use term "event loop", though define jobs , job queues work similar. there no reason implement multiple threads, after all, js alone runs sequentially.

in contrast, html5 spec define event loops , process model, there no requirement multithreading either.


Comments

Popular posts from this blog

c++ - No viable overloaded operator for references a map -

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - Cannot secure connection using TLS -