Nithin Bekal's Avatar

Nithin Bekal

@nithinbekal.bsky.social

Staff developer at Shopify. I mostly post about Ruby, Rails, Vim/Neovim and assorted programming related topics. Blog: https://nithinbekal.com/

106 Followers  |  34 Following  |  19 Posts  |  Joined: 24.04.2024  |  1.8306

Latest posts by nithinbekal.bsky.social on Bluesky

Stop memoizing Hash lookups in Ruby Nithin Bekal's blog about programming - Ruby, Rails, Vim, Elixir.

Stop memoizing Hash lookups in Ruby

nithinbekal.com/posts/ruby-h...

#ruby

11.07.2025 11:51 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Andrej Karpathy: Software Is Changing (Again)
YouTube video by Y Combinator Andrej Karpathy: Software Is Changing (Again)

Andrej Karpathy: Software Is Changing (Again)

www.youtube.com/watch?v=LCEm...

#ai #llm

26.06.2025 03:25 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
ZJIT has been merged into Ruby ZJIT has been merged into upstream Ruby. Learn about its architecture!

ZJIT has been merged into Ruby

railsatscale.com/2025-05-14-m...

"ZJIT is a new just-in-time (JIT) Ruby compiler built into the reference Ruby implementation, YARV, by the same compiler group that brought you YJIT."

#ruby

31.05.2025 02:31 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Fast Allocations in Ruby 3.5 Many Ruby applications allocate objects. What if we could make allocating objects six times faster? We can! Read on to learn more!

Fast Allocations in Ruby 3.5

railsatscale.com/2025-05-21-f...

#ruby

27.05.2025 01:54 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

nithinbekal.com/feed.xml

22.05.2025 02:52 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Inline RBS comments support for Sorbet How Sorbet and RBS can work together to elevate your Ruby development experience

My teammate Alexandre Terrasa wrote a great post about using inline RBS with Sorbet.
We’ve been slowly adopting it at Shopify. And while we’re still improving Sorbet and all the supporting projects, it’s already working well!

railsatscale.com/2025-04-23-r...

01.05.2025 10:28 β€” πŸ‘ 19    πŸ” 6    πŸ’¬ 3    πŸ“Œ 0

One benefit of #Sorbet is that it can make VSCode and Neovim almost on par with RubyMine's excellent behavior of being able to go to definitions and references from almost anywhere to anywhere. It helps so with debugging and refactoring.Β 
This is amazing in a dynamically typed language like #Ruby

05.03.2025 09:00 β€” πŸ‘ 3    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0

... RBS can be the syntax for types and sorbet, steep, typeprof etc can be the frontends for it.

26.02.2025 03:32 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

I agree that type annotations are too fragmented, which is why I'm excited about this change. Sorbet is miles ahead of other type checkers right now in terms of speed and usability, so it adopting RBS can only help consolidate things in the community. ...

26.02.2025 03:32 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Forgot to mention: the 2 main drivers behind this work: Alexandre Terrasa and Alexander Momchilov, will both be speaking at this year's RubyKaigi.

So definitely come to their talks and ask them questions to learn more about the challenges and visions behind it πŸ˜‰

25.02.2025 23:42 β€” πŸ‘ 3    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0

It's an idea my colleague Alexandre Terrasa and the team explored way back in 2020. But due to various challenges we couldn't make it work at the time.
Maybe 2025 will be the year to finally make it happen?

- 2020 PR: github.com/sorbet/sorbe...
- 2025 PR: github.com/sorbet/sorbe...

25.02.2025 22:45 β€” πŸ‘ 6    πŸ” 3    πŸ’¬ 2    πŸ“Œ 0
RBS comments support Β· Sorbet > This feature is experimental and might be changed or removed without notice.

Sorbet now has (experimental) support for RBS comments for adding types to methods. Now the major type checkers for ruby are all converging towards RBS for annotations, and this could be huge for the future of types in Ruby!

sorbet.org/docs/rbs-sup...

#ruby #sorbet

25.02.2025 04:16 β€” πŸ‘ 17    πŸ” 8    πŸ’¬ 1    πŸ“Œ 3
Preview
From the csMajors community on Reddit Explore this post and more from the csMajors community

"My team's intern just found a critical bug by shitposting in our codebase" πŸ˜‚πŸ˜‚πŸ˜‚

www.reddit.com/r/csMajors/c...

12.02.2025 02:51 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
So You Want To Remove The GVL? I want to write a post about Pitchfork, explaining where it comes from, why it is like it is, and how I see its future. But before I can get to that, I think I need to share my mental model on a few t...

So You Want To Remove The GVL From Ruby?

byroot.github.io/ruby/perform...

#ruby

31.01.2025 01:20 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
A simple trick to understand Ruby’s lazy enumerator Where you get to play with an interactive demo to visualize how Enumerator::Lazy helps avoid unnecessary work

A simple trick to understand Ruby’s lazy enumerator

joyofrails.com/articles/sim...

Beautiful visual demo of how lazy enumerators help avoid unnecessary work.

#ruby

15.01.2025 05:15 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Favorite books of 2024 Nithin Bekal's blog about programming - Ruby, Rails, Vim, Elixir.

Favorite books of 2024

nithinbekal.com/posts/books-...

#books

10.01.2025 05:11 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Script to bump Ruby version in Rails app Nithin Bekal's blog about programming - Ruby, Rails, Vim, Elixir.

Admittedly, these are small apps (largest is < 3k LOC) and I kinda cheated by having a script that does the version bumps, but even then it's a good sign about how stable things are right now!

nithinbekal.com/posts/bump-r...

#ruby #rails

03.01.2025 04:44 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Ruby upgrades are so incredibly smooth these days!

I have 3 small hobby rails apps that I wanted to upgrade to Ruby 3.4, and it took me 20 minutes to upgrade and deploy them all! And 5 of those minutes were spent downloading the latest ruby.

#ruby #rails

03.01.2025 04:44 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Rails for everything | Literally the Void

Rails for everything

literallythevoid.com/blog/rails_f...

#ruby #rails

03.01.2025 04:16 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
What's new in Ruby 3.4 Nithin Bekal's blog about programming - Ruby, Rails, Vim, Elixir.

What's new in Ruby 3.4

nithinbekal.com/posts/ruby-3...

The next release of Ruby is just a week away. Dive into the latest features, including the new it block parameter, chilled strings, the Prism parser, and modular GC.

#ruby

18.12.2024 04:45 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
avante.nvim: AI copilot in Neovim Nithin Bekal's blog about programming - Ruby, Rails, Vim, Elixir.

avante.nvim: AI copilot in Neovim

nithinbekal.com/posts/avante...

#neovim #ai

06.11.2024 03:20 β€” πŸ‘ 2    πŸ” 2    πŸ’¬ 0    πŸ“Œ 0
Optimizing page loads for Giscus comments Nithin Bekal's blog about programming - Ruby, Rails, Vim, Elixir.

Optimizing page loads for Giscus comments

nithinbekal.com/posts/giscus...

02.11.2024 04:18 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Rails 8 authentication generator Nithin Bekal's blog about programming - Ruby, Rails, Vim, Elixir.

Rails 8 authentication generator #rails #ruby

nithinbekal.com/posts/rails-...

24.10.2024 02:29 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

@nithinbekal is following 20 prominent accounts