Simulacrum VS mdoc

Compare Simulacrum vs mdoc and see what are their differences.

Simulacrum

First class syntax support for type classes in Scala (by typelevel)

mdoc

Typechecked markdown documentation for Scala (by scalameta)
Our great sponsors
  • Scout APM - A developer's best friend. Try free for 14-days
  • Nanos - Run Linux Software Faster and Safer than Linux with Unikernels
  • SaaSHub - Software Alternatives and Reviews
Simulacrum mdoc
1 3
922 305
-0.2% 1.3%
4.6 8.7
24 days ago 11 days ago
Scala Scala
GNU General Public License v3.0 or later Apache License 2.0
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.

Simulacrum

Posts with mentions or reviews of Simulacrum. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-08-10.
  • Friction-less scala - Tell us what is causing friction in your day-to-day life with Scala
    14 projects | reddit.com/r/scala | 10 Aug 2021
    The Cats ecosystem offers mature named abstractions providing algebraic laws virtually identical to those offered by Haskell and PureScript and that have stood the test of time, at the cost of relying on a "design pattern" approach to implementation you have to squint a bit to see ("typeclasses" based on higher-kinded types and implicit arguments) and that sometimes doesn't play nicely with Scala's colored local type inference. The selling point of this, coupled with parametricity ("tagless-final style"), is the ability to reason algebraically about your code.

mdoc

Posts with mentions or reviews of mdoc. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-08-10.
  • Friction-less scala - Tell us what is causing friction in your day-to-day life with Scala
    14 projects | reddit.com/r/scala | 10 Aug 2021
    Literally what scaladoc is, it comes with sbt. Although, it's better when enhanced with mdoc so that you get the standard microsite template like these. It would be nice to have an sbt serveDocs and if everyone would host their docs for external linking, but javadoc doesn't do that either.
  • A Scala rant
    9 projects | reddit.com/r/scala | 31 Mar 2021
    The good news is that scaladoc is produced by default by sbt and published by default. So you can often pull it from the same repository your library jar came from, extract it with zip, and read the docs. But that's also totally unnecessary - javadoc.io allows you to put in your module info and serves the docs for you, so if there's an older version you can access the documentation this way. Rely on the type signatures, since they can't lie, whilst comments (including scaladoc comments) can. Honestly, library authors should be using mdoc and including examples on every public method, and that type of documentation is something you can almost always contribute to a project for a quick pr kudos.
  • The future of Scaladoc
    3 projects | reddit.com/r/scala | 8 Mar 2021
    I know it's not new but the "Snippet validation and results (mdoc)" features in mdoc are so cool. Really takes some of the tedium out of working with documentation since you can know that as you evolve your code the compiler will make sure you keep the docs in sync. Whole new level of Readme-Driven Development

What are some alternatives?

When comparing Simulacrum and mdoc you can also consider the following projects:

sbt-mima-plugin - A tool for catching binary incompatibility in Scala

sbt-unidoc - sbt plugin to create a unified Scaladoc or Javadoc API document across multiple subprojects.

Freestyle - A cohesive & pragmatic framework of FP centric Scala libraries

coursier - Pure Scala Artifact Fetching

sbt-native-packager - sbt Native Packager

enableIf.scala - A library that toggles Scala code at compile-time, like #if in C/C++

sbt-revolver - An SBT plugin for dangerously fast development turnaround in Scala

Ammonite-Ops - Scala Scripting

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

scribe - The fastest logging library in the world. Built from scratch in Scala and programmatically configurable.

sbt-dependency-graph - sbt plugin to create a dependency graph for your project

Scalaz - Principled Functional Programming in Scala