---
res:
  bibo_abstract:
  - "Asynchronous programming has gained significant popularity over the last decade:
    support for this programming pattern is available in many popular languages via
    libraries and native language implementations, typically in the form of coroutines
    or the async/await construct. Instead of programming via shared memory, this concept
    assumes implicit synchronization through message passing. The key data structure
    enabling such communication is the rendezvous channel. Roughly, a rendezvous channel
    is a blocking queue of size zero, so both send(e) and receive() operations wait
    for each other, performing a rendezvous when they meet. To optimize the message
    passing pattern, channels are usually equipped with a fixed-size buffer, so sends
    do not suspend and put elements into the buffer until its capacity is exceeded.
    This primitive is known as a buffered channel.\r\n\r\nThis paper presents a fast
    and scalable algorithm for both rendezvous and buffered channels. Similarly to
    modern queues, our solution is based on an infinite array with two positional
    counters for send(e) and receive() operations, leveraging the unconditional Fetch-And-Add
    instruction to update them. Yet, the algorithm requires non-trivial modifications
    of this classic pattern, in order to support the full channel semantics, such
    as buffering and cancellation of waiting requests. We compare the performance
    of our solution to that of the Kotlin implementation, as well as against other
    academic proposals, showing up to 9.8× speedup. To showcase its expressiveness
    and performance, we also integrated the proposed algorithm into the standard Kotlin
    Coroutines library, replacing the previous channel implementations.@eng"
  bibo_authorlist:
  - foaf_Person:
      foaf_givenName: Nikita
      foaf_name: Koval, Nikita
      foaf_surname: Koval
      foaf_workInfoHomepage: http://www.librecat.org/personId=2F4DB10C-F248-11E8-B48F-1D18A9856A87
  - foaf_Person:
      foaf_givenName: Dan-Adrian
      foaf_name: Alistarh, Dan-Adrian
      foaf_surname: Alistarh
      foaf_workInfoHomepage: http://www.librecat.org/personId=4A899BFC-F248-11E8-B48F-1D18A9856A87
    orcid: 0000-0003-3650-940X
  - foaf_Person:
      foaf_givenName: Roman
      foaf_name: Elizarov, Roman
      foaf_surname: Elizarov
  bibo_doi: 10.1145/3572848.3577481
  dct_date: 2023^xs_gYear
  dct_isPartOf:
  - http://id.crossref.org/issn/9798400700156
  dct_language: eng
  dct_publisher: Association for Computing Machinery@
  dct_title: Fast and scalable channels in Kotlin Coroutines@
...
