3 ms·
Yes - 100%. Javascript is different because the language has quirks, but that's more superficial than you would think. The runtime environment is where all th
by cljs-js-eval 7y ago
Yes - 100%. Javascript is different because the language has quirks, but that's more superficial than you would think. The runtime environment is where all the gotchas are.
Everything is single threaded, but events happen constantly and at times you don't control. However there's no good atomics support. The environment uses async for pretty much everything non-trivial but has some of the worst async primitives ever (until very recently, at least).
That make things very different to develop for, and won't be solved by writing your code in Java. It will just run into the same fundamental browser limitations.