ruby-concurrency / ruby-concurrency/concurrent-ruby

should we use new c macros included with rubyc?

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

Nobody has claimed this yet.

enhancement looking-for-contributor
Dominant language
Ruby
Stars
5.8k
Forks
420
Avg merge
20h 45m
Merged PRs (30d)
4

Description

with https://github.com/ruby/ruby/pull/3983 , rubyc includes c macros to do atomic operations. should we use these for the atomic operations?

  • Operating system: linux / mac / win
  • Ruby implementation: Ruby / JRuby / TruffleRuby / Rubinius
  • concurrent-ruby version: x.y.z
  • concurrent-ruby-ext installed: yes / no
  • concurrent-ruby-edge used: yes / no

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 reading Ruby PR 3983 and locating the existing atomic-operation implementation in concurrent-ruby-ext. Compare the new rubyc C macros across Linux, macOS, and Windows and consider the listed Ruby implementations; done means a resolved compatibility decision with appropriate coverage if the macros are adopted.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, ruby
Domain
backend
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.