skip to main content
Close Icon

In order to deliver a personalized, responsive service and to improve the site, we remember and store information about how you use it. This is done using simple text files called cookies which sit on your computer. By continuing to use this site and access its features, you are consenting to our use of cookies. To find out more about the way Informa uses cookies please go to our Cookie Policy page.

Global Search Configuration

Ovum view

Summary

Programming language propeller-head at Mozilla, Dave Herman, has blogged about steps Mozilla is taking in offering parallelism in the JavaScript programming language (see Appendix). While Java and other key languages have threads to create parallel processes, this is currently lacking in JavaScript. Given the predominance of JavaScript in web and mobile development, Mozilla is pushing the evolution by trialing parallel JavaScript features.

Writing parallel code in JavaScript is a necessary evolution

Parallel JavaScript is a good option for developers. JavaScript is a key language today, even if its importance is a matter of being in the “right place at the right time”. The language does have ugly parts, as acknowledged by people including Douglas Crockford, who has written about “JavaScript: The Good Parts”. The lack of parallelism is an area ripe for evolution. With smart devices carrying GPUs that in combination with powerful processors turn these into the supercomputer of yesteryear, there is a massive capability waiting to be tapped. Enabling technology to exploit this computing power will lead to a new generation apps that make use of it, such as machine learning, and big data-related apps.

Herman's approach at Mozilla is to make early ventures in parallel JavaScript available to developers and wait for their feedback. There are a number of ways in which to implement the parallelism, and the degree to which data is shared reflects how predictable the machine state can be. Parallel programming has notorious pitfalls, such as race conditions, so different data-sharing models have different levels of risk, and care is therefore necessary in their programming. Mozilla is taking a more cautious approach in its parallel data-sharing model.

Appendix

Further Reading

Dave Herman: https://blog.mozilla.org/javascript/2015/02/26/the-path-to-parallel-javascript/.

Author

Michael Azoff, Principal Analyst, IT Infrastructure Solutions

michael.azoff@ovum.com

Have any questions? Speak to a Specialist

Europe, Middle East & Africa team - +44 (0) 207 017 7700


Asia-Pacific team - +61 (0)3 960 16700

US team - +1 646 957 8878

+44 (0) 207 551 9047 - Operational from 09.00 - 17.00 UK time

You can also contact your named/allocated Client Services Executive using their direct dial.
PR enquiries - Call us at +44 7770704398 or email us at pr@ovum.com

Contact marketing - marketingdepartment@ovum.com

Already an Ovum client? Login to the Knowledge Center now