scastie
sbt
Our great sponsors
scastie | sbt | |
---|---|---|
10 | 20 | |
423 | 4,753 | |
0.2% | 0.3% | |
8.5 | 9.1 | |
22 days ago | 2 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?
-
Free Monads from Scratch
From personal experience Scala also works. It's 100% possible to learn monads using https://scastie.scala-lang.org/ as a scratch pad.
- Scastie now blocks russian IPs
-
New to Scala
Instead I typically use https://scastie.scala-lang.org, or an ammonite script, or just create a new file that extends App in my test directory. The thing that worksheets do better is that you can import things from your project (like the little app in the test dir) but they also show runtime values (like repl or scastie). However I've just never gotten them to actually work.
- 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
sbt
-
Declarative Gradle is a cool thing I am afraid of: Maven strikes back
NOTE: I won’t mention SBT and Leiningen here because, with all due respect, they are niche build tools. I also won’t discuss Kobalt for the same reason (besides, it’s no longer actively maintained). Additionally, I won’t touch upon Bazel and Buck in this context, mainly because I’m not very familiar with them. If you have insights or comments about these tools, please feel free to share them in the comments 👇
-
Øyvind Berg and John De Goes discuss Bleep, the new config-as-data build tool
Sbt has the primitives that would allow that, but this would change the semantics of the test task. See also testQuick and https://github.com/sbt/sbt/issues/6292
-
Scala Center Roadmap for 2023 and Beyond
If I use IntelliJ then apparently sbtn is not supported and they don't bother with Scala-CLI or Coursier.
-
The size of sbt became big
Version 1.3.13 has a size of 1.17 MB in zip
-
sbt 1.8.0 released
See scala-xml 2.x mega tracker on plugin ecosystem conflicts.
-
sbt 1.7.3 released
This is under discussion at https://github.com/sbt/sbt/issues/6997
-
Make your zip packages for lambdas (and many more use cases) idempotent with a zip-drop-in replacement
See https://github.com/playframework/playframework/issues/10572 and https://github.com/sbt/sbt/issues/6235 for more details and context.
-
How do i stop git bash from showing the time taken for each command
BTW, if you're curious, it appears OP is using this: https://github.com/sbt/sbt/releases/tag/v1.6.2 Pretty sure one of the executables is doing ANSI colours.
-
simplifying sbt with common settings
If you see the progression of documentation changes over the years pushing people towards multi-project style, and issues like https://github.com/sbt/sbt/issues/6217, hopefully you'd see that I've really tried to encourage people to use multi-project style from the get go.
-
sbt 1.5.7 released
Fyi in case anyone is curious, sbt is fully removing log4j going forward: https://github.com/sbt/sbt/pull/6726
What are some alternatives?
tour-of-scala - Tour of Scala - Scala classes
Mill - Your shiny new Java/Scala build tool!
Scala.js - Scala.js, the Scala to JavaScript compiler
dotty - The Scala 3 compiler, also known as Dotty.
Hugo - The world’s fastest framework for building websites.
bloop - Bloop is a build server and CLI tool to compile, test and run Scala fast from any editor or build tool.
Akka - Build highly concurrent, distributed, and resilient message-driven applications on the JVM
scalafmt - This repo is now a fork of --->
metabrowse - Static site generator for code search with IDE features for Scala
Metals - Scala language server with rich IDE features 🚀
Play - The Community Maintained High Velocity Web Framework For Java and Scala.
Wartremover - Flexible Scala code linting tool