Sorbet icon
Sorbet icon

Sorbet

Sorbet is a fast, powerful type checker designed for Ruby.

Cost / License

  • Free
  • Open Source

Platforms

  • Mac
  • Windows
  • Linux
  • BSD
-
No reviews
0likes
0comments
0news articles

Features

Suggest and vote on features
No features, maybe you want to suggest one?

 Tags

Sorbet News & Activities

Highlights All activities

Recent activities

No activities found.

Sorbet information

  • Developed by

    US flagStripe, Inc.
  • Licensing

    Open Source (Apache-2.0) and Free product.
  • Written in

  • Alternatives

    2 alternatives listed
  • Supported Languages

    • English

AlternativeTo Category

Development

GitHub repository

  •  3,742 Stars
  •  580 Forks
  •  931 Open Issues
  •   Updated  
View on GitHub

Popular alternatives

View all
Sorbet was added to AlternativeTo by Paul on and this page was last updated .
No comments or reviews, maybe you want to be first?
Post comment/review

What is Sorbet?

Sorbet is a fast, powerful type checker designed for Ruby.

Fast and scalable Sorbet is multithreaded, scaling linearly across cores on your CPU. It checks your types in seconds, giving you feedback as you code.

IDE-ready Sorbet works with your favorite editor to provide IDE features like autocomplete and jump to definition. It’s easy to add to your CI setup.

Gradual by design Sorbet works with normal Ruby, so you can keep using your existing toolchain. Add Sorbet types to your codebase one file at a time.

A taste of Sorbet

Sorbet is 100% compatible with Ruby. It type checks normal method definitions, and introduces backwards-compatible syntax for method signatures. Explicit method signatures make Sorbet useful for anyone reading the code too (not just the author). Type annotations serve as a tool for understanding long after they're written. Sorbet is designed to be useful, not burdensome. Explicit annotations are repaid with clear error messages, increased safety, and increased productivity.

Get started quickly

Sorbet is designed to get you started quickly. Add and install a few gems, initialize Sorbet, and type check your project. Sorbet also knows what's in a project's Gemfile, so it knows how to make or create type definition files for any gems a project uses. For more information on how to get started with Sorbet, see the Getting Started guide.

Designed to be interactive

Sorbet gives your Ruby development environment IDE-like features, including autocomplete, in-editor documentation, and go to definition. The implementation leverages the Language Server Protocol to be compatible with your favorite editor. In the time we've spent adopting Sorbet at Stripe, countless people have told us that adding types to existing code or writing new code feels interactive, like pair-programming with the type checker. People ask Sorbet questions, and it responds in seconds—or faster.

Official Links