scastie
Scala.js
Our great sponsors
scastie | Scala.js | |
---|---|---|
10 | 33 | |
423 | 4,522 | |
0.7% | 0.3% | |
8.5 | 9.0 | |
9 days ago | 9 days ago | |
Scala | Scala | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
scastie
- How to select union type branch in a for comprehension?
- Scastie now blocks russian IPs
- I've entered a state of helplessness while learning scala
-
Switching to a Scala position soon, where should I start?
I strongly recommend you play around with the local Scala REPL. I have Scala 2.13 on my main dev computer and Scala 3 on my other computer. The local REPL will let you know when things are deprecated and give you hints as to what you should use instead. Scastie https://scastie.scala-lang.org/ can also be a big help.
-
Scala or Go: Who Wore It Better?
Operationally, as you might expect from a language borne from academia, Scala tooling can be problematic and compilation can be slow--particularly if you are not yet using Scala 3, which only recently emerged and is very slowly percolating through the ecosystem (Remember the Python 2 to Python 3 transition?). But type inference, a vast standard library, and the time-tested reliability of the JVM make you very productive once you get the hang of them. Performance varies with the JVM you're running, but regardless you do have to contend with the size of compiled objects and the latency of garbage collection at runtime. When you want to experiment, you can skip the ceremony of writing a class or test and instead use a command-line REPL, an online REPL called Scastie you can share, or an outstanding third-party command-line REPL called Ammonite. Dependency management is achieved with SBT typically but also more general JVM build tools like Gradle and Maven.
-
I just rebuilt Tour of Scala from scratch - let me know what you think
I am using https://scastie.scala-lang.org/ which does compile server side in Scala. The UI is a bit hard to handle tho.
-
The future of Scaladoc
https://github.com/scalacenter/scastie#how-do-i-embed-scastie
Scala.js
- Typescript FP Job?
-
Reconnecting with Scala. What's new?
Links: - https://dotty.epfl.ch/ - https://scala-native.org/en/stable/ - https://www.scala-js.org/ - https://typelevel.org/ - https://zio.dev/ - https://github.com/scala-native/scala-native/pull/3120 - https://github.com/lampepfl/dotty/pull/16517 - https://dotty.epfl.ch/docs/reference/experimental/index.html - https://scala-cli.virtuslab.org/ - https://scalameta.org/metals/ - https://docs.scala-lang.org/scala3/guides/migration/compatibility-intro.html - https://www.scala-lang.org/blog/2023/04/18/faster-scalajs-development-with-frontend-tooling.html - https://www.scala-lang.org/blog/2022/08/17/long-term-compatibility-plans.html
-
Rust on Espressif chips – 2023 Roadmap
> Scala choices were directly dictated by JVM
Initially, yes. But Scala has evolved beyond the JVM, with Scala.js [1] being rock-solid, and Scala Native [2] under development. Neither are truly hampered by the initial JVM roots of Scala.
> Scala gives you a better horse
Weird analogy ;)
- 10 years of Scala.js
-
Looking for an alternative to Javascript
Have you had a look at Scala.js yet? Also see "Scala.js for JavaScript developers." and "Tour of Scala."
-
Contrary to popular belief, Scala is actually a quite small and simple language
good stuff there is https://scala-native.org/ and http://www.scala-js.org/ then, I suppose?
What does that have to do with language size? It also compiles to js https://www.scala-js.org/ and native https://scala-native.org/en/stable/
-
Dropping Scala 2.11 support in Scala.js and Scala Native
Please vote for dropping Scala 2.11 support in Scala.js (https://github.com/scala-js/scala-js/issues/4759) and Scala Native (https://github.com/scala-native/scala-native/issues/2780)
The compiler crash in question affects another feature that we would like to merge for the benefit of all users, namely https://github.com/scala-js/scala-js/pull/4735. Keeping 2.11 means that testing and shipping that feature is much more difficult, even for 2.12+ users only. It's not just "to fix a compiler crash".
-
GitHub - gbj/leptos: A full-stack, isomorphic Rust web framework leveraging fine-grained reactivity to build declarative user interfaces.
[0] https://www.scala-js.org/ [1] https://lampwww.epfl.ch/~doeraene/thesis/doeraene-thesis-2018-cross-platform-language-design.pdf
What are some alternatives?
scalajs-react - Facebook's React on Scala.JS
awesome-wasm-langs - 😎 A curated list of languages that compile directly to or have their VMs in WebAssembly
js-scala - js.scala: JavaScript as an embedded DSL in Scala
sri
React4s - Production ready React wrapper for Scala.js - composable lifecycle - no memoization, no macros, no implicits.
Laminar - Simple, expressive, and safe UI library for Scala.js
slinky - Write Scala.js React apps just like you would in ES6
ZIO - ZIO — A type-safe, composable library for async and concurrent programming in Scala
scala-native-wasm - Running Scala in WebAssembly through Scala Native
tour-of-scala - Tour of Scala - Scala classes
Akka - Build highly concurrent, distributed, and resilient message-driven applications on the JVM
Play WS - Standalone Play WS, an async HTTP client with fluent API