from Hacker News

Go Concurrency versus C and pthreads

by dpapathanasiou on 12/26/15, 2:46 PM with 3 comments

  • by kenOfYugen on 12/26/15, 2:56 PM

    One can use the same Go style concurrency in C with libmill [1].

    Another interesting choice for concurrency would be lthread [2].

      What’s special about lthread is that it allows you to
    
      make blocking calls and expensive computations, blocking
     
      IO inside a coroutine, providing you with the advantages 
      
      of coroutines and pthreads. 
    
    [1] http://libmill.org/

    [2] https://github.com/halayli/lthread