Hacker News new | ask | show | jobs
by audi100quattro 3284 days ago
Li Haoyi (scala.js author) explains why he worked on scala.js pretty well: http://www.lihaoyi.com/post/FromfirstprinciplesWhyIbetonScal...

Using scala.js with jquery-ui or any other js library using facades works well. If you wanted pre-made ui widgets, your choices are going to limit you in one way or another (compared with writing html/css), so arguably learning jetty+scala.js+jqueryui, is equivalent to using GWT, and has surpassed GWT in terms of js/scala/jvm compatibility in every way. It might never compete with webassembly in terms of raw performance, but then GWT isn't about to do that either if you're writing code for the browser.

Also, Scala+GWT seems to be dead, probably because of scala.js. You can use gradle/maven with Scala just fine. I use gradle for all of my Scala projects.

2 comments

Small correction: I'm not the author of Scala.js, that honor falls to Sebastien who did all the hard compiler work to make Scala.js happen.

I just used Scala.js and built libraries on top of it

Thanks Li, seems like http://udash.io/ would be a more direct comparison to GWT.
GWT was dead a long time ago, maybe two years after it came out, it's a dead tech. So is Scala, after the scala hype train left a few years ago, almost no one is using it (see tiobe).

Two dead techs in one peice, so bizarre.

You're asking me to believe the ranking that has assembly or basic in the top 10 over github's rankings. No thanks.
There's a lot of embedded systems in this world that are still written in straight assembly, and there's a lot of business systems written in VB. I cringe at both thoughts, but...