简体   繁体   中英

What client-side web languages can support multiple threads?

I am trying to write an application that is web-based and I was originally using javascript. However I need to be able to use multiple threads. What other web languages support multiple threads?

Edit: I am looking for client-side.

If you need concurrency in client-side JavaScript have a look at WebWorkers:

To find out which version of browser support Webworkers, see this table .

Multi-threaded Javascript is something that has been proposed but is not currently possible (apart from web workers, which is another story). Javascript is an asynchronous language anyway, which is why threading was not originally part of Javascript. No other client-side language support multi-threaded operations.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM