David

KC never finished work on this stuff.  I’m copying him because I’m sure he’d be 
happy to help.

KC: can you summarise where you left it?

I think it’s very interesting work, and has the potential to make GHC’s RTS 
much more malleable, by moving more of it into Haskell libraries instead of 
deeply-magic C code.

But it’s not easy, because we are reluctant to lose performance, and because 
there are interactions with STM, weak pointers, foreign function calls, etc.   
I think it’d require a bit of commitment to make a go of it.


Simon


From: ghc-devs [mailto:ghc-devs-boun...@haskell.org] On Behalf Of Daniel Bennet
Sent: 28 December 2016 17:23
To: ghc-devs@haskell.org
Subject: Lightweight Concurrency Branch

The lightweight concurrency branch is highly interesting and relevant to my 
interests, however, the ghc-lwc2 branch hasn't been updated in several years 
even though it's listed as an active branch at 
https://ghc.haskell.org/trac/ghc/wiki/ActiveBranches

The wiki page for the work hasn't been updated in almost two years either, 
https://ghc.haskell.org/trac/ghc/wiki/LightweightConcurrency

Relevant papers:
Composable Scheduler Activations for Haskell (2014)
https://timharris.uk/papers/2014-composable-tr.pdf<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftimharris.uk%2Fpapers%2F2014-composable-tr.pdf&data=02%7C01%7Csimonpj%40microsoft.com%7Cd132a48641a54f732ffc08d42f463e8b%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C1%7C636185426136080161&sdata=YG%2B0xfi%2Bd74Vi9GBI8iTrr4GEMzjS2WwrI182%2BcEgqM%3D&reserved=0>

Composable Scheduler Activations for Haskell (2016)
http://kcsrk.info/papers/schedact_jfp16.pdf<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fkcsrk.info%2Fpapers%2Fschedact_jfp16.pdf&data=02%7C01%7Csimonpj%40microsoft.com%7Cd132a48641a54f732ffc08d42f463e8b%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C1%7C636185426136080161&sdata=mH79Y3U%2BdDvcw2PA8lGcFaPMJw6DgCIXbu%2F3WGvyGaU%3D&reserved=0>

What remains for integrating this branch into GHC?
_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

Reply via email to