Skip to content

Restrict async to MRI Ruby only #406

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

seuros
Copy link

@seuros seuros commented Jul 27, 2025

Summary

Remove JRuby and TruffleRuby from CI configuration, add required_ruby_engine restriction to gemspec, and simplify Ruby engine checks in scheduler.rb.

Async depends on gems that require C compilation (io-event), and Java engines already have their own async counterparts.

@ioquatix
Copy link
Member

The plan is to support them, it's just low priority.

socketry/io-event#148
rubygems/rubygems#8879

@seuros
Copy link
Author

seuros commented Jul 27, 2025

Jruby has it's own async Implementation. So anyone on JRuby already has primitives like Promises, Futures, and ThreadPoolExecutor, which don't require a fiber scheduler shim.

People using these 2 engines mix Java and Ruby in the same codebase.

@ioquatix
Copy link
Member

There are plans to unify them using virtual threads.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy