Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Multithreaded JavaScript how to?

Is there any idea (library or methodology) to create multithreaded apps in JavaScript?

like image 988
Kowalikus Avatar asked Feb 03 '23 06:02

Kowalikus


2 Answers

The closest you're gonna get is web workers (only in FF 3.5 / HTML5). Check it out - http://www.whatwg.org/specs/web-workers/current-work/

like image 122
Dan Beam Avatar answered Feb 05 '23 20:02

Dan Beam


JavaScript doesn’t really have multi-threading capabilities , and there’s nothing a JavaScript programmer can do to change that.

However, what we can do is simulate multi-threading. Please go through this article also.

And there is a PDF link on JavaScript Multithread Framework for Asynchronous Processing thesis

like image 25
pramodc84 Avatar answered Feb 05 '23 20:02

pramodc84