Skip to content
View Largo's full-sized avatar
πŸ’­
Ruby Kaigi 2026
πŸ’­
Ruby Kaigi 2026

Block or report Largo

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
largo/README.md

Hi there πŸ‘‹

I'm Andi(@largo)! I like to automate things for myself and others, so I became a programmer! Please leave a comment or an issue if you try out any of my projects and cannot get it to work. I love meeting new people, say hello. γŠζ°—θ»½γ«γ”ι€£η΅‘γγ γ•γ„γ€‚

A small part in making Ruby faster on Windows

In January 2023 I wondered why require 'gtk3' took 3+ seconds on Windows. I traced it with Procmon and filed Bug #19378. The cause: Windows has no native realpath, so Ruby emulates it. Every require opened a handle on every parent directory of the file, and each open cost 8 syscalls. One file deep inside a gem (C:\Ruby32-x64\lib\ruby\gems\3.2.0\gems\glib2-4.0.8\lib\glib2\variant.rb) needed 80 syscalls, and the same work was repeated for every file.

In 2026 I tried GetFileInformationByName (Windows 11 24H2+), which gets the same information in one call, and attached a rough patch. Hiroshi Shibata did the careful part: he reworked it for ReFS, junctions and mount points, tested it thoroughly and merged it in ruby/ruby#18193. My original commit is part of it. In his benchmarks File.stat got about 3.9Γ— faster and requiring big gems like rubocop or active_support 1.35–1.55Γ— faster.

This should be in Ruby 4.1 this Christmas, so the short delay when a Ruby program starts on Windows gets noticeably shorter.

I also tried YJIT on Windows. It had never run there (#19325), and in August 2026 I got an experimental port working with a lot of help from AI. It mostly showed that it could be done. hsbt then wrote a proper implementation for mswin (ruby/ruby#19114), which passes the test suite and runs about 2Γ— faster than the interpreter in his benchmarks. It is waiting for review now.

Thanks to nobu, hsbt and everyone who commented on these tickets over the years.

New this autumn (2026)

Chunky Bacon: learn Ruby in your browser ruby_llm-claude_cli: your Claude Code login as a RubyLLM provider ruby_llm-providers-infomaniak: Swiss-hosted open models in plain Ruby

Ruby in the browser (ruby.wasm)

Ruby + LLMs

Office files

  • Largo/ruby_pptx: a Ruby port of python-pptx. Create, read and update PowerPoint files. Gem

Recent Projects

Fields of interest: Ruby, MRuby / Picoruby, PHP, Python, JavaScript/Typescript, C/C++/C#, SaaS, VSCode Devcontainers, Docker, Self-hosting, crossplattform (Linux, Windows, MacOS), ecommerce, single developer projects, talking to people and helping them using code, simple solutions like htmx

Blogposts:

Pinned Loading

  1. ruby.wasm-quickstart ruby.wasm-quickstart Public

    JavaScript 17 1

  2. ocran ocran Public

    Forked from larsch/ocra

    Turn ruby files into executables. pack into directories and zip files files on windows, macOS, Linux (supported safe fork of ocran)

    Ruby 104 7

  3. file_exists file_exists Public

    FileExists File.exists? and Dir.exists? were deprecated a long time ago and removed in Ruby 3.2. If you still need these methods just require this Gem

    Ruby 10 1

  4. BrowserRubyKoans BrowserRubyKoans Public

    Ruby Koans in the Browser

    JavaScript 11

  5. glimmer-dsl-web-standalone-demo glimmer-dsl-web-standalone-demo Public

    This is a demo of Glimmer DSL for Web without rails. It allows you to use Ruby instead of JavaScript.

    Ruby 5 1

  6. PsychometricStudy PsychometricStudy Public

    Psychometric Study software

    Python 1