Scala.js has a new website
11–20 of 31 posts
Re: Scala.js has a new website
#12Speaking of bringing nice languages to the browser. Kotlin is a simpler language than Scala and also compiles to JS. Unlike Scala.JS which seems to be a completely third party project, Kotlin's compilation to JS is considered one of the primary features of the language. Kotlin is barely at 1.0 at the moment though.
Re: Scala.js has a new website
#13For those from Java world wanting to write client-side, there is obviously also GWT[1] and another interesting option is TeaVM[2]. Interesting part of TeaVM is that it translates bytecode, so I guess it could do Scala as well. But I've never used it, so cannot recommend really. 1. http://www.gwtproject.org/ 2. https://github.com/konsoletyper/teavm
Re: Scala.js has a new website
#14Speaking of bringing nice languages to the browser. Kotlin is a simpler language than Scala and also compiles to JS. Unlike Scala.JS which seems to be a completely third party project, Kotlin's compilation to JS is considered one of the primary features of the language. Kotlin is barely at 1.0 at the moment though.
AFAIK javascript support is put on hold until 1.0 is reached. Kotlin/JS doesn't provide much help to make Kotlin/Java code run without modifications. So, it isn't there yet. ScalaJS on the other hand is fully functional.
It's true that Kotlin's JS support is pretty raw today. There are virtually no docs for it for example. They do have a basic feature set working though. I think in a few months it should be in great shape.
Re: Scala.js has a new website
#15For those from Java world wanting to write client-side, there is obviously also GWT[1] and another interesting option is TeaVM[2]. Interesting part of TeaVM is that it translates bytecode, so I guess it could do Scala as well. But I've never used it, so cannot recommend really. 1. http://www.gwtproject.org/ 2. https://github.com/konsoletyper/teavm
TeaVM is a fun and impressive project. However, although they can compile Scala-emitted bytecode (since a few weeks ago [1]), that's not their main focus. They are unlikely to ever optimize Scala code as well as Scala.js, because Scala.js focuses on optimizing idiomatic Scala. They do have an undeniable advantage over Scala.js, though, which is that they can also compile Java libraries used by a Scala program.
[1] https://groups.google.com/d/msg/scala-js/3jbX9ajIbHM/MbLWIqp...
Re: Scala.js has a new website
#16Re: Scala.js has a new website
#17Speaking of bringing nice languages to the browser. Kotlin is a simpler language than Scala and also compiles to JS. Unlike Scala.JS which seems to be a completely third party project, Kotlin's compilation to JS is considered one of the primary features of the language. Kotlin is barely at 1.0 at the moment though.
Here are some of those facts:
* They intend to release 1.0 without finalizing JS support [1]
* The documentation for Kotlin on JS is virtually non existent
* The primitive data types don't behave the same on both platforms
[1] http://blog.jetbrains.com/kotlin/2015/10/kotlin-1-0-beta-can...
Re: Scala.js has a new website
#18For those from Java world wanting to write client-side, there is obviously also GWT[1] and another interesting option is TeaVM[2]. Interesting part of TeaVM is that it translates bytecode, so I guess it could do Scala as well. But I've never used it, so cannot recommend really. 1. http://www.gwtproject.org/ 2. https://github.com/konsoletyper/teavm
Re: Scala.js has a new website
#19Speaking of bringing nice languages to the browser. Kotlin is a simpler language than Scala and also compiles to JS. Unlike Scala.JS which seems to be a completely third party project, Kotlin's compilation to JS is considered one of the primary features of the language. Kotlin is barely at 1.0 at the moment though.