Back to the roots of date
summary
Pure‑Ruby gem ruby-date rewrites the C Date implementation (first commit Jan 10, tests green Feb 11) by porting and reimplementing Date._parse and other methods with AI assistance; initial ports pass tests but run at only ~20–50% of C speed, fail a regex performance test involving a year with 100,000 zeros until requiring Ruby 3.3, then regain speed with YJIT and a new integer_at API; PR remains under heavy review, work-in-progress but functional.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 2:23Speaker introduction
- 3:50Ruby’s date library issues
- 9:56Creating ruby-date gem
- 15:18DateTime pitfalls
- 17:34Regex performance challenge
- 20:42Pull request and benchmarks
- 25:47Optimization with YJIT
- 29:57Latest review progress
- 30:42Conclusion and future








