Metals VS Ammonite-Ops

Compare Metals vs Ammonite-Ops and see what are their differences.

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
Metals Ammonite-Ops
18 15
2,020 2,585
1.1% 0.3%
9.8 8.5
6 days ago about 7 hours ago
Scala Scala
Apache License 2.0 MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

Metals

Posts with mentions or reviews of Metals. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-24.
  • Reconnecting with Scala. What's new?
    7 projects | /r/scala | 24 May 2023
    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
  • Tmux, NeoVim, etc. to write pure Kotlin code?
    2 projects | /r/Kotlin | 30 Apr 2023
    You might want to look at Scala, they have proper LSP support with metals which means you can write your code in vscode, neovim, emacs, or even fleet (the new jetbrains text editor).
  • New plugin to support LSP file operations
    6 projects | /r/neovim | 9 Jan 2023
    Please write in the comments if you know of any language servers I should test it with. Currently I tested only metals and rust-analyzer.
  • Why are all the guides on using LSP functionality full of bloat?
    3 projects | /r/neovim | 26 Dec 2022
    If you are using nvim-lspconfig you can pass the settings as a Lua table to the setup function. For example, here are may metals settings:
  • Type-Signature.com
    5 projects | news.ycombinator.com | 11 Nov 2022
  • What is the one thing you need everyday to make your job easier?
    2 projects | /r/AskMen | 16 Oct 2022
    Bazel support in Metals. I didn't spend all that time figuring out and adjusting Emacs/Spacemacs and making my workflow (almost) mouse-free just to scrap my config and switch to IDEA's rodent infested ways.
  • Scala 2.13.9 is here
    3 projects | /r/scala | 21 Sep 2022
    There is one small issue involving code completion returning inappropriate completions in some cases; https://github.com/scalameta/metals/pull/4414 will fix it, once it's included in a release. Perhaps that's the PR you saw?
  • Scala Isn't Fun Anymore
    9 projects | news.ycombinator.com | 13 Sep 2022
    It is, by quite a bit.

    While the "Scala IDE" project is dead for all practical purposes, IntelliJ IDEA's Scala plugin is actually pretty amazing. There's also a VisualStudio plugin that does pretty much the same and is advancing by leaps and bounds. There are also interconnecting projects that provide i.e. language server or build server that are reused by other projects. It's pretty modular. Metals (https://scalameta.org/metals/) is amazing.

    In general the language has become a wee bit faster to build, there was good progress with build times during the 2.12/2.13 cycles.

    With Scala3 the language got a bit simpler; concepts that were implemented explicitly using (hehe) implicits got their own keywords and a lot of the opinionated boilercode that cause a lot of debates is now generated during complication and hidden. A lot of "standardization" has occurred.

  • A Python-compatible statically typed language erg-lang/erg
    27 projects | news.ycombinator.com | 13 Aug 2022
  • Starting with Scala: editor and version choice?
    1 project | /r/scala | 7 Jun 2022
    IntelliJ has its own BSP. The other one is Metals. You can use it with many IDEs (vim, emacs, vscode, atom,...). Use it with emacs if you're comfortable with it.

Ammonite-Ops

Posts with mentions or reviews of Ammonite-Ops. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-09-13.
  • RFC: A Path Forward for Ammonite REPL and Scripts in 2023 and Beyond
    1 project | /r/scala | 3 Sep 2023
  • Does ammonite support indent based syntax?
    1 project | /r/scala | 23 Oct 2022
    The indent based syntax is only available in Scala 3, you have to download a matching ammonite version from https://github.com/com-lihaoyi/Ammonite/releases
  • Scala Isn't Fun Anymore
    9 projects | news.ycombinator.com | 13 Sep 2022
    That's funny, because this is what I really like about Scala; how quick and easy it is to get a project started.

    > sbt new scala/scala3.g8

    will just create an empty project. If you don't even want to bother with a project, use use scala-cli or ammonite (http://ammonite.io/) to just start banging out code.

    Even the upgrading of a project from Scala2 to Scala3 is a breeze, thanks to very good backwards compatibility of new library releases.

  • No build target could be found
    1 project | /r/scala | 30 Aug 2022
    Ammonite is a very good REPL for Scala. You can invoke it with amm and type expressions into it, or load a Scala “script file” whose name ends with .sc into it, or many other things. It’s documented at https://ammonite.io. 2. sbt is the dominant build tool for Scala projects. As others have commented, when you open a folder in Visual Studio Code and try to make Metals “aware of it,” it expects to find a “Scala project” in the folder. A “Scala project” isn’t just Scala source code. See https://www.scala-sbt.org for details. 3. Also be aware that Metals supports worksheets, so you can easily experiment with code in your project interactively, too.
  • A Python-compatible statically typed language erg-lang/erg
    27 projects | news.ycombinator.com | 13 Aug 2022
  • Scala 3 Reflection
    5 projects | /r/scala | 1 Feb 2022
    Scripting API is quite limited, so the third option. - reuse the ammonite scripts https://github.com/com-lihaoyi/Ammonite or look how this is implemented (using internal compiler API),
  • New to Scala
    1 project | /r/scala | 14 Oct 2021
    Your exposure to Functional Programming with Haskell and Clojure suggest you will certainly pick up Scala quickly. With ZIO and cats, you can write robust software quickly. Consider the excellent Coursera Scala course. Get "the Red Book" https://www.manning.com/books/functional-programming-in-scala, and most important, play. Experiment to see how things work. Get https://ammonite.io/
  • Audacity Fork Without Any Sentry Telemetry or Crash Reporting
    9 projects | news.ycombinator.com | 5 Jul 2021
    Here's an example of a smaller project that added telemetry without suffering a fork:

    https://github.com/com-lihaoyi/Ammonite/issues/607

  • Scripting with Java – Improving Approachability
    2 projects | /r/java | 12 May 2021
    Or ammonite - I've ran Gatling performance test from a simple script based on this gist it fetches all the dependencies, compiles and runs the test, producing nice html report..
  • 25 years of OCaml
    3 projects | /r/programming | 10 May 2021
    Scala with the Typelevel ecosystem. Stay on the jVM, but have a much more pleasant and robust experience, including a great REPL.

What are some alternatives?

When comparing Metals and Ammonite-Ops you can also consider the following projects:

intellij-plugins - Open-source plugins included in the distribution of IntelliJ IDEA Ultimate and other IDEs based on the IntelliJ Platform

better-files - Simple, safe and intuitive Scala I/O

Jupyter Scala - A Scala kernel for Jupyter

Shapeless - Generic programming for Scala

sbt - sbt, the interactive build tool

Scalaz - Principled Functional Programming in Scala

bloop - Bloop is a build server and CLI tool to compile, test and run Scala fast from any editor or build tool.

calculator - Windows Calculator: A simple yet powerful calculator that ships with Windows

Scalastyle - scalastyle

cats - Lightweight, modular, and extensible library for functional programming.

scalajs-benchmark - Benchmarks: write in Scala or JS, run in your browser. Live demo:

scala.meta - Library to read, analyze, transform and generate Scala programs