News for hackers. Stuff that matters.
Re:How JavaScript engines achieve great performance by still_grokking on Thursday November 25, 2021 @09:01PM (#29346877)
Why is Scala not a realistic alternative to JS? It has perfect JS interop.

If TS is an alternative to JS Scala is also. Hard to thing of an argument that doesn't go the same about both languages.

The only real issue is market reach at this point in time.

Re:How JavaScript engines achieve great performance by epolanski on Friday November 26, 2021 @11:45AM (#29351765)
> Why is Scala not a realistic alternative to JS?

- Userbase. Hiring Scala developer is insanely harder than hiring JS developers in most of the world

- Worse ecosystem. This ranges from anything like finding libraries to finding help online.

- Generated bundles and performance are very subpar to most compile-to-js languages.

Re:How JavaScript engines achieve great performance by still_grokking on Saturday November 27, 2021 @06:33PM (#29364684)
Point one and two are basically the same point, and mirror what was subsumed under "market reach".

Point three doesn't sound realistic as you can process compiler output further with the usual JS optimizing tools if you wish. So I would like to see some evidence for the stated claim.