amp.dev
sorbet
Our great sponsors
amp.dev | sorbet | |
---|---|---|
1 | 45 | |
557 | 3,391 | |
1.3% | 1.1% | |
8.8 | 9.8 | |
6 days ago | 5 days ago | |
HTML | Ruby | |
GNU General Public License v3.0 or later | Apache License 2.0 |
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.
amp.dev
sorbet
-
RJIT a New JIT for Ruby
> 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).
-
Has Ruby actually increased the speed significantly?
That's incorrect. You may be thinking of Stripe, and AFAICT it's not very actively developed anymore: https://github.com/sorbet/sorbet/commits/master/compiler
- Ask HN: What is the most pleasant, uncomplicated full stack to start with?
-
Can text editors detect undefined variables in Ruby?
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.
-
Ruby 3.2.0 Is from Another Dimension
Sorbet[1] is currently the most robust tooling available. It has a few rough edges and limitations but it otherwise works great for 90% of use cases.
[1]: https://sorbet.org
- Benchmarking Ruby 2.6 to 3.2
-
Crystal for Rubyists
There are solutions like sorbet[^1] and sorbet-rails[^2]. Have you tried them?
[^1]: https://sorbet.org/
-
ABEND dump #2
Since I tried Sorbet, a Ruby type-checker, the idea of building an ahead-of-time compiler for Ruby is a cool side project that has been in my mind for some time now. To my surprise, during Hacktoberfest, I got to know Natalie, this AOT compiler written in C++ by Tim Morgan.
-
NSA urges orgs to use memory-safe programming languages - C/C++ on the bench, as NSA puts its trust in Rust, C#, Go, Java, Ruby and Swift
Rails has something similar called https://sorbet.org/ Haven't used it since I personally like the flexibility. But it exists if you're into it :)
-
The type system is a programmer's best friend
Ever heard of Sorbet? https://sorbet.org/
What are some alternatives?
vscode-solargraph - A Visual Studio Code extension for Solargraph.
solargraph - A Ruby language server.
rbs - Type Signature for Ruby
rubocop - A Ruby static code analyzer and formatter, based on the community Ruby style guide.
noclip.website - A digital museum of video game levels
tapioca - The swiss army knife of RBI generation
content - The content behind MDN Web Docs
TypeScript - TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
stripe-ruby - Ruby library for the Stripe API.
crystal - The Crystal Programming Language
Ruby on Rails - Ruby on Rails