if you are talking about node.js there have been recent improvements to the
cluster module.
I've used cluster even in Cubieboard2 and it works quite well using as many
resources as possible if specified.

Maybe that won't make JS like Java (thank Gosh!) but combined with linear
and async callbacks it does a very good job.

http://nodejs.org/api/cluster.html#cluster_cluster

Hope this helped,
    best regards.


On Sun, Jan 12, 2014 at 5:26 AM, 紫诡 <[email protected]> wrote:

>       hello, now javascript engine don't support multi-threads , because
> it's nouseful in brower.
> but, if engine in server, like node.js , it's will be need. although, we
> can use non-blocking
>  API to do it, but it can't support multi cpu env well good.
>     so , if javascript add SYNCHRONIZED keyword into, and hava Thread
> Manager API , it will like Java Language
>
> _______________________________________________
> es-discuss mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/es-discuss
>
>
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to