Is there an alternative to javascript for the web that can do multi-threading and synchronous execution?
Posted
by
rambodash
on Programmers
See other posts from Programmers
or by rambodash
Published on 2013-10-31T05:00:12Z
Indexed on
2013/10/31
10:19 UTC
Read the original article
Hit count: 348
programming-languages
|JavaScript
I would like to program web applications as I do with desktop programming languages, where the code is synchronously executed and browser doesn't freeze when doing loops.
Yes I know there are workarounds using callbacks and setTimeout, but they are all workarounds after all and they don't give the same flexibility when programming in the orthodox way
I've been looking at Dart as a possibilty, but I can't seem to find where it says it can do either of these. The same with haxe, emscript, and the hundreds of other converters that try to circumvent javascript. In the end it gets converted to Javascript so you ultimately have to be conscious about asynchronous/multi threading.
© Programmers or respective owner