Project

General

Profile

Actions

Feature #12019

open

Better low-level support for writing concurrent libraries

Added by pitr.ch (Petr Chalupa) about 8 years ago. Updated about 2 years ago.

Status:
Open
Target version:
-
[ruby-core:73434]

Description

Nowadays, almost every processor has more than one core. Therefore it becomes more and more important for languages to have good support of concurrent and/or parallel computation. Currently Ruby supports concurrency mainly through high-level classes: Thread, Queue, Mutex, Monitor, ConditionVariable.

This work is not colliding with plans for Ruby 3 (to provide an easy-to-use and safe concurrent abstraction to Ruby users). Following proposals suggest several key low-level Ruby extensions which will allow those interested in these topics to create fast concurrency abstractions (gems) for Ruby community, providing more choices and complementing the effort of Ruby 3. The proposed APIs are not expected to be used for every day programming but rather by concurrency enthusiast.

This issue is intended to serve as an aggregator for other various proposals described in following issues.


Related issues 5 (4 open1 closed)

Related to Ruby master - Feature #12020: Documenting Ruby memory modelAssignedko1 (Koichi Sasada)Actions
Related to Ruby master - Feature #11539: Support explicit declaration of volatile instance variablesOpenActions
Related to Ruby master - Feature #8259: Atomic attributes accessorsOpenActions
Related to Ruby master - Feature #12021: Final instance variablesOpenActions
Related to Ruby master - Feature #11541: Let attr_accessor, _reader & _writer return symbols of the defined methodsClosedActions

Updated by pitr.ch (Petr Chalupa) about 8 years ago

I'll be adding or linking existing proposals gradually:

I've tried to describe the intentions for Ruby 3 as best as I could, please correct the statement if it's inaccurate.

Actions #2

Updated by Eregon (Benoit Daloze) about 8 years ago

Actions #3

Updated by Eregon (Benoit Daloze) about 8 years ago

  • Related to Feature #11539: Support explicit declaration of volatile instance variables added
Actions #4

Updated by Eregon (Benoit Daloze) about 8 years ago

Actions #5

Updated by Eregon (Benoit Daloze) about 8 years ago

Actions #6

Updated by Eregon (Benoit Daloze) about 8 years ago

  • Related to Feature #11541: Let attr_accessor, _reader & _writer return symbols of the defined methods added

Updated by ferdinandrosario@gmail.com (ferdinand rosario) about 8 years ago

  • Assignee changed from pitr.ch (Petr Chalupa) to matz (Yukihiro Matsumoto)
Actions #8

Updated by hsbt (Hiroshi SHIBATA) about 2 years ago

  • Project changed from 14 to Ruby master
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0