Can Scala be used to write GWT applications?

后端 未结 7 1879
旧时难觅i
旧时难觅i 2020-12-29 04:19

Can Scala be used to write GWT applications?

(NOTE: Java/Scala novice here...)

7条回答
  •  独厮守ぢ
    2020-12-29 04:57

    The GWT compiler works with Java source code because that provides the most visibility to allow for optimisations when compiling into Javascript. There has been occasional discussion about working with the bytecode, but the issue always ends up being that a lot of optimisations will be lost if the compiler works with byte code and not source code.

    Nevertheless, there is an interesting thread about supporting Scala. However, the priorities for the GWT team at this point seem to be more focused on the Java language compiler.

提交回复
热议问题