3 ms·
In addition to the options identified in the article definitely take a look at ScalaJS and ClojureScript. I've used ScalaJS quite a bit and it's a more or less
by wmfiv 10y ago
In addition to the options identified in the article definitely take a look at ScalaJS and ClojureScript. I've used ScalaJS quite a bit and it's a more or less flawless experience.
- pkasireddy 10y agoHow does ScalaJS compare to these other libs in terms of building browser UIs?
- edko 10y agoIt compares pretty well. It is possible to define Scala bindings to JS libraries, so you can use them more or less seamlessly. Bindings to the most popular ones (jQuery, React, etc.) are already defined, and actively maintained. It is relatively simple to add your own. A nice thing is that, since Scala is a strongly-typed language, you get code-completion and refactoring "for free". However, if you prefer to use dynamic typing, ScalaJS lets you do that easily too. Also, like the grandparent comment said, ClojureScript is a very nice language too, with powerful tooling. The nice thing about ScalaJS and ClojureScript is that they both can run on the browser, and on a JVM backend. Scala also has an LLVM backend that is being actively developed, but on its early stages. (ScalaJS is very mature and performant)