Libconcurrent

Languages and libraries

coroutine library

SHOW HN2016

91points
24comments
#420of 2,264 in 2016
Top 19%of 2016 by points

How HN took it

CuriousMostly questions and neutral comments

1 positive, 9 neutral or asking, 0 mixed, 1 critical, out of 11 comments about the project. Thread score 0.00.

Docs: 1 for, 1 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Readme links to other coroutine projects are helpful

    From 1 comment
    • The links to other projects with similar goals at the bottom of the Readme is brilliant. It helps developers solve their problems irrespective of whether this particular solution…
      brudgers on HN

Objections

  • Readme does not explain how it differs from other coroutine libraries

    From 1 comment
    • It would be helpful if the README explained how this is different than the many other coroutine libraries.
      evmar on HN

Requests

  • Explain differences from other coroutine libraries in the README

    From 1 comment
    • It would be helpful if the README explained how this is different than the many other coroutine libraries.
      evmar on HN
  • Add the Tatham coroutines page to the list of related links

    From 1 comment
    • It's missing this link, which I previously thought was "the" co-routine de-facto standard for C before seeing all those other links:…
      zanerino on HN

Questions

  • How does it compare to libmill?

    From 2 comments
    • How does this compare to http://libmill.org?
      stepanhruda on HN
    • libmill offers a channels(FIFO queues) abstraction. This is a fibers/coroutines framework. They solve different problems. See go-lang channels for what libmill is providing.
      markpapadakis on HN
  • Are coroutines scheduled across multiple CPUs?

    From 2 comments
  • How does it compare to Apple's GCD?

    From 3 comments
    • How does this compare to Apple's GCD [1]? 1 - https://en.wikipedia.org/wiki/Grand_Central_Dispatch
      delinka on HN
    • GCD is purely callback-based. It works neatly with Apple's "blocks" (inline capturing functions) extension to C, which make dealing with callbacks slightly nicer, but it's still…
      pmjordan on HN
    • I ported GCD to Linux when it was made available/open-sourced some many months ago. Effectively, GCD uses a bunch of (named) FIFO queues, protected by semaphores, and manages…
      markpapadakis on HN

Alternatives named

  • libmill

    From 1 comment
  • lthread

    From 1 comment
    • You might also want to look at lthread. It has some interesting functions like lthread_compute_begin()/end() to run expensive computations inside a coroutine. the compute methods…
      halayli on HN
  • protothreads (Tatham coroutines)

    From 1 comment
    • It's missing this link, which I previously thought was "the" co-routine de-facto standard for C before seeing all those other links:…
      zanerino on HN
  • libvenice

    From 1 comment
  • vireo

    From 1 comment
    • Cool! A co-TA and I ported the concurrency library in JOS, MIT's teaching operating system, to regular UNIX: https://github.com/geofft/vireo It uses the standard-ish library…
      geofft on HN
  • Grand Central Dispatch

    From 1 comment
    • How does this compare to Apple's GCD [1]? 1 - https://en.wikipedia.org/wiki/Grand_Central_Dispatch
      delinka on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/10887071)