1. Not exactly. You have to spend additional effor...
# javascript
k
1. Not exactly. You have to spend additional efforts to create, say, a Kotlin JS library. In TeaVM dependency is a usual Maven artifact you simply put in
dependencies
section of your
pom.xml
2. That's it. TeaVM sees the whole application. And actually TeaVM uses all available information to peform agressive optimizations. 3. With TeaVM you can use much of core JDK classes which are unavailable in Kotlin JS. Examples are: date and time manipulation + timezones, locales, formatted output, collections, IO, etc. So, if you want to deal with date or create a queue, you don't have to learn how to do it in the JavaScript world. 4. AFAIK, there's no such framework yet, while there is one for TeaVM