FREEDOM251

Freedom251 › Compare

Side by side

Kotlin/JS vs Scala.js

Both stand on code transpilers. Which one you can start free with, which one lets you read the code, and what each costs once you pay.

Kotlin/JS

Free plan LinuxMacWeb+1

Kotlin/JS lets developers use Kotlin in browser and Node.js projects, with framework wrappers and multiple module formats. Note that Karma is deprecated and the alternative browser-testing DSL is experimental.

Visit Kotlin/JS

Scala.js

Free plan APILinuxMac+2

Scala.js brings Scala typing and tooling to JavaScript development, with listed routes to interoperate with JavaScript libraries. Review the 1.22.0 compatibility note if upgrading from 1.21.x.

Visit Scala.js

The facts

Kotlin/JSScala.js
Free planYesYes
Open sourceNot publishedNot published
Runs onLinux, Mac, Web, WindowsAPI, Linux, Mac, Web, Windows
Lowest paid planFree or on requestFree or on request
Plans published11
MakerNot publishedNot published
Websitekotlinlang.orgscala-js.org
On code transpilers#10 of 28#14 of 28

Kotlin/JS: what it does well

  • Compiles Kotlin and compatible dependencies to JavaScript.
  • Targets browsers and Node.js.
  • Supports four JavaScript module systems.
  • Can share logic across web, JVM, Android and iOS.
  • Gradle plugin generates JavaScript source maps.

What to know first

  • Karma is deprecated and will not receive expected updates.
  • Browser testing DSL is experimental.

Scala.js: what it does well

  • Compiles Scala applications for browsers, Node.js, and serverless environments.
  • Supports JavaScript libraries and APIs.
  • Offers four named build tool options.
  • Editor support flags typos and type errors.
  • Free under Apache License 2.0.

What to know first

  • The 1.22.0 release is not entirely source compatible with 1.21.x.
  • Tutorials list Scala development tools and Node.js as prerequisites.

Alternatives to Kotlin/JS Alternatives to Scala.js The whole list