Skip to content
SPECIFICTION
Get listed

Ormolu vs Ruff

Ormolu

github.com

Ruff

docs.astral.sh

Side by side

FigureOrmoluRuff
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
WebYesYes
WindowsYesYes
macOSYesYes
LinuxYesYes
Self-hosted—Yes
Plans published11
Spec score · Code Formatting Tools7.8 (#14)7.9 (#12)
Editor integrationsThe README lists integrations for Emacs, VS Code, and Vim through neoformat or vim-ormolu.The setup guide documents integrations including VS Code, Sublime Text, PyCharm, and Zed.
InstallationThe release page provides binaries for Linux, macOS, and Windows, and the project can also be installed with cabal or stack.Ruff can be installed using uv, pip, pipx, standalone installers, and package managers including Homebrew and Conda.
MakerTweag describes itself as a software innovation lab and lists Ormolu among its Haskell ecosystem tools.Astral says it builds high-performance developer tools for the Python ecosystem and that its tools are open source and permissively licensed.
PurposeOrmolu is a formatter for Haskell source code.Ruff is a Python linter and code formatter written in Rust.

Plans

Ormolu

  • OrmoluFree

Ormolu pricing →

Ruff

  • RuffFree

Ruff pricing →

In their own words

Ormolu

Ormolu is a formatter for Haskell source code. It uses GHC’s parser and applies one consistent style, with the aim of keeping diffs small. That style cannot be configured, and the project aims to leave code unchanged when it is formatted again after already meeting the style. Release binaries are available for Linux, macOS, and Windows; installation through cabal or stack is also supported. Ormolu Live provides a browser version. Listed editor integrations cover Emacs, VS Code, and Vim through neoformat or vim-ormolu, and Haskell Language Server has built-in support for Ormolu. For continuous integration, the project recommends the run-ormolu GitHub Action. It reads default language extensions and dependencies from a matching Cabal file;.ormolu files can specify fixity overrides and module re-export instructions. CPP support remains experimental and works only in simple cases where conditionals surround top-level declarations. Ormolu is open source and free, with a listed plan price of free.

Visit github.com

Ruff

Ruff is a Python linter and code formatter written in Rust, available free under a permissive open-source license. It includes more than 900 built-in lint rules, including native versions of popular Flake8 plugin rules, and can automatically correct violations such as unused imports. Its formatter aims to serve as a replacement for Black, though the documentation allows for differences in some cases. The built-in Ruff Language Server supplies diagnostics, fixes, and formatting; the documentation recommends pairing it with another Python language server for navigation and autocompletion. Setup guidance covers VS Code, Sublime Text, PyCharm, and Zed, while CI support includes GitHub Actions, GitLab CI/CD, and pre-commit hooks. Ruff can be installed through uv, pip, pipx, standalone installers, Homebrew, Conda, and other package managers. It supports configuration in pyproject.toml, ruff.toml, or .ruff.toml. A Bandit-derived rule group checks for common Python security issues. Ruff runs on Linux, macOS, and Windows, and is also published as a Docker image. The maker describes it as 10–100x faster than tools such as Flake8 and Black.

Visit docs.astral.sh