SaaSHub helps you find the best software and product alternatives Learn more →
Top 7 Ruby sorbet Projects
A fast, powerful type checker designed for RubyProject mention: RJIT a New JIT for Ruby | news.ycombinator.com | 2023-03-07
> I guess what I'm asking is: do you see a future where there is more explicit control afforded to people who want to pick their own tradeoffs without resorting to writing everything performance-sensitive in extensions written in C/Rust/whatever?
An approach exists already in the present, and it's Stripe's Sorbet AOT compiler (https://github.com/sorbet/sorbet/tree/master/compiler).
A set of tools to make the Sorbet typechecker work with Ruby on Rails seamlessly.Project mention: Crystal for Rubyists | news.ycombinator.com | 2022-11-28
There are solutions like sorbet[^1] and sorbet-rails[^2]. Have you tried them?
Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
The swiss army knife of RBI generationProject mention: Can text editors detect undefined variables in Ruby? | reddit.com/r/ruby | 2023-01-24
Sorbet can do this, as long as you have type signatures for your code. Given Ruby's highly dynamic nature that's where tools like Tapioca come in to generate these, for example for Active Record models where instance methods are generated based on the database schema. But the moment when something returns T.untyped you're back where you were before - it helps but isn't perfect.
A central repository for sharing type definitions for Ruby gems
The tooling around "installing" types for third party dependencies (the equivalent of doing "npm install @types/something" is non existent. I had to manually copy over files from https://github.com/sorbet/sorbet-typed, which is so far behind pythons and typescript, where you can just "pip install"/"npm install" the types. Not only that, most third party dependencies don't provide types, so the "coverage" is super incomplete. I had to try and create some third party types myself, bit even that was a challenge because it's so hard to be sure of the entirety of what's going on in a ruby codebase because the language is dynamic.
Convert YARD docs to Sorbet RBI and Ruby 3/Steep RBS filesProject mention: How do you document your code? | reddit.com/r/rails | 2023-01-17
I tend to follow along using the YardDoc comment style. It has many small things I love about it; an example is when yardoc is followed it can be used to generate RBS/Sorbet type files with the sord gem, you can also generate application documents similar to rdoc/sdoc.
A type signature generator, merger and parser system for Sorbet and Ruby 3/Steep
A small gem consisting of helpers for using Sorbet & RSpec together.
Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.
Ruby sorbet related posts
Can text editors detect undefined variables in Ruby?
2 projects | reddit.com/r/ruby | 24 Jan 2023
ABEND dump #2
2 projects | dev.to | 14 Nov 2022
Shopify makes new web server Pitchfork based on Unicorn that forks a warmed up Ruby VM to service requests
2 projects | reddit.com/r/programming | 12 Oct 2022
Sometimes, it's the other way around
1 project | reddit.com/r/ProgrammerHumor | 26 Aug 2022
What's New in Python 3.11?
1 project | reddit.com/r/programming | 28 Jun 2022
Why We’re Sticking with Ruby on Rails at GitLab
5 projects | reddit.com/r/rails | 9 Jun 2022
steep VS sorbet - a user suggested alternative
2 projects | 17 Apr 2022
A note from our sponsor - #<SponsorshipServiceOld:0x00007f160d0098d8>
www.saashub.com | 27 Mar 2023
What are some of the best open-source sorbet projects in Ruby? This list will help you: