ruby / ruby/irb

Multithread IRB feature

Open
#690 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Ruby
Stars
478
Forks
158
Avg merge
1d 12h
Merged PRs (30d)
12

Description

Description

Running IRB in multiple thread won't work now.

Thread.new do
  sleep 2
  binding.irb
end
binding.irb

If it can, debugging multithread program might be easier.

PoC

I made a PoC https://github.com/tompng/irb/tree/thread_irb
スクリーンショット 2023-08-21 23 34 26

Problem

  • Is it maintainable?
  • Does debug commands work? Wouldn't this feature slows down improving debug commands?
  • Can it be integrated well with workspace commands?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the multithread IRB example and the linked PoC branch. Investigate whether debug commands and workspace commands work correctly when multiple threads enter IRB, and assess the maintainability concerns raised in the issue. Done means a clearly integrated multithread IRB feature with those command interactions addressed.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.