ruby-next
sorbet
ruby-next | sorbet | |
---|---|---|
7 | 53 | |
723 | 3,525 | |
0.6% | 0.1% | |
8.4 | 9.9 | |
16 days ago | 8 days ago | |
Ruby | Ruby | |
MIT License | 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.
ruby-next
- Почему я программирую на Ruby
-
GitHub - keygen-sh/typed_params: Define structured and strongly-typed parameter schemas for your Rails controllers
But if it really bothers you, check out ruby-next.
-
GitHub - saturnflyer/polyfill-data: Adds the Ruby 3.2 Data class to lower Ruby versions
I hope to get some time to try to contribute it to ruby-next https://github.com/ruby-next/ruby-next/issues/98
-
Future of Ruby – AST Tooling
As it would happen, the folks behind Ruby Next have some ideas here, and have done a significant amount of work in enabling this very vision to become a reality.
- Ruby Next makes modern Ruby code run in older versions and implementations
-
A no-go fantasy: writing Go in Ruby with Ruby Next
Don’t give the punchline away, but this post is actually a big tutorial about using Ruby Next to modify Ruby exactly to your tastes. Here’s hoping you’ll have as much fun reading this fantasy as I did writing it. 😅
-
Faster way to write {name: name}
You can with Ruby Next: https://github.com/ruby-next/ruby-next#proposed-and-edge-features
sorbet
-
The Design Principles of the Elixir Type System
Not part of the official language spec, but Ruby has Sorbet, from a company who employs Ruby core contributors and helped with the recently released JIT additions to the language, amount countless other contributions over the last couple decades.
https://sorbet.org/
- Почему я программирую на Ruby
-
Bringing more sweetness to ruby with sorbet types 🍦
First let's introduce the tool: Sorbet is a gem developed by Stripe that aims to bring type notation syntax and type checking support for the Ruby ecosystem by utilizing the "Gradual typing" philosophy, it also provide type generation from YARD comments via the tapioca gem, allowing to grow alongside the already built Ruby codebase.
-
An Introduction to Metaprogramming in Ruby
We have hundreds of thousands of lines of ruby code spanning many services / monoliths. Even now I find it somewhat annoying to open a controller / component that is basically an empty class def but somehow executes a bunch of complex stuff via mixins, monkey patches etc, and you have to figure out how.
We are turning to https://sorbet.org/ to reign in the madness. I'm keen to know if others are doing the same, and how they are finding it (pros and cons)
- A few words on Ruby's type annotations state
-
Is Ruby on Rails still in demand?I see very few companies using it.Is it used in big tech companies like Google,Amazon,Facebook,Microsoft?
According to https://sorbet.org/ , the vast majority of code at Stripe is written in ruby.
-
¿Que lenguaje de programación consideran que no está saturado?
Caso de Stripe, que tuvo que inventar Sorbet para tener type checking en ruby.
- Building GitHub with Ruby on Rails
-
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
What are some alternatives?
unparser - Turn Ruby AST into semantically equivalent Ruby source
solargraph - A Ruby language server.
keygen-api - Keygen is an open, source-available software licensing and distribution API built with Ruby on Rails. For developers, by developers.
vscode-solargraph - A Visual Studio Code extension for Solargraph.
typed_params - An alternative to Rails strong_parameters. Define structured and strongly-typed parameter schemas for your Rails controllers.
rbs - Type Signature for Ruby
fast - Find in AST - Search and refactor code directly in Abstract Syntax Tree as you do with grep for strings
rubocop - A Ruby static code analyzer and formatter, based on the community Ruby style guide.
vagrant - Vagrant is a tool for building and distributing development environments. [Moved to: https://github.com/hashicorp/vagrant]
noclip.website - A digital museum of video game levels
polyfill-data - Adds the Ruby 3.2 Data class to lower Ruby versions
tapioca - The swiss army knife of RBI generation