# Scala.js

7 Hacker News commenters recommended Scala.js and 0 criticized it, November 2025 to November 2026. It was recommended in 6 of 13 months.

**Verdict:** Lets people write frontend code in Scala and is free and fun to use, though code sharing with GHCJS is thinner.

## Why people recommend it

- Scala on the frontend (2 comments): "Full stack Scala with Scala.js on the frontend is so very nice." ([source](https://news.ycombinator.com/item?id=46818991)) "For the frontend, ScalaJS[0]." ([source](https://news.ycombinator.com/item?id=50147828))
- Fun and cool to use (1 comments): "ScalaJS is both fun and cool" ([source](https://news.ycombinator.com/item?id=46719398))

## What people warn about

- Code sharing with GHCJS is thinner (1 comments): "Scala.js and GHCJS are essentially separate compilation targets with thinner sharing stories" ([source](https://news.ycombinator.com/item?id=47545125))

## Alternatives hackers recommend

- [T-Ruby](https://hackerapproved.com/p/t-ruby.md): 11 recommend
- [Eurydice](https://hackerapproved.com/p/eurydice.md): 8 recommend
- [crustc](https://hackerapproved.com/p/crustc.md): 8 recommend
- [TeaVM](https://hackerapproved.com/p/teavm.md): 7 recommend
- [C2Rust](https://hackerapproved.com/p/c2rust.md): 6 recommend

## Cite as

Hacker Approved, "Scala.js", https://hackerapproved.com/p/scala-js/ (counts from 1,795,640 Hacker News comments, November 2025 to November 2026).
