{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,5,26]],"date-time":"2026-05-26T23:05:50Z","timestamp":1779836750703,"version":"3.53.1"},"reference-count":40,"publisher":"Cambridge University Press (CUP)","license":[{"start":{"date-parts":[[2016,6,27]],"date-time":"2016-06-27T00:00:00Z","timestamp":1466985600000},"content-version":"unspecified","delay-in-days":178,"URL":"https:\/\/www.cambridge.org\/core\/terms"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["J. Funct. Prog."],"published-print":{"date-parts":[[2016]]},"abstract":"<jats:title>Abstract<\/jats:title>\n                  <jats:p>The runtime for a modern, concurrent, garbage collected language like Java or Haskell is like an operating system: sophisticated, complex, performant, but alas very hard to change. If more of the runtime system were in the high-level language, it would be far more modular and malleable. In this paper, we describe a novel concurrency substrate design for the Glasgow Haskell Compiler that allows multicore schedulers for concurrent and parallel Haskell programs to be safely and modularly described as libraries in Haskell. The approach relies on abstracting the interface to the user-implemented schedulers through scheduler activations, together with the use of Software Transactional Memory to promote safety in a multicore context.<\/jats:p>","DOI":"10.1017\/s0956796816000071","type":"journal-article","created":{"date-parts":[[2016,6,27]],"date-time":"2016-06-27T04:50:24Z","timestamp":1467003024000},"source":"Crossref","is-referenced-by-count":3,"title":["Composable scheduler activations for Haskell"],"prefix":"10.1017","volume":"26","author":[{"given":"K. C.","family":"SIVARAMAKRISHNAN","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"TIM","family":"HARRIS","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"SIMON","family":"MARLOW","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"SIMON","family":"PEYTON JONES","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"56","published-online":{"date-parts":[[2016,6,27]]},"reference":[{"key":"S0956796816000071_ref37","unstructured":"STMLibrary. (2016) Control.Concurrent.STM. Available at: http:\/\/hackage.haskell.org\/package\/stm-2.1.1.0\/docs\/Control-Concurrent-STM.html. Last accessed 10th June 2016."},{"key":"S0956796816000071_ref35","unstructured":"Shootout. (2016) The Computer Language Benchmarks Game. Available at: http:\/\/benchmarksgame.alioth.debian.org\/. Last accessed 10th June 2016."},{"key":"S0956796816000071_ref3","doi-asserted-by":"crossref","unstructured":"Baumann A. , Barham P. , Dagand P.-E. , Harris T. , Isaacs R. , Peter S. , Roscoe T. , Sch\u00fcpbach A. & Singhania A. (2009) The multikernel: A new OS architecture for scalable multicore systems. In Proceedings of the ACM SIGOPS 22nd Symposium on Operating Systems Principles, SOSP '09. Big Sky, Montana, USA: ACM, New York, NY, USA, pp. 29\u201344.","DOI":"10.1145\/1629575.1629579"},{"key":"S0956796816000071_ref38","doi-asserted-by":"crossref","unstructured":"Vouillon J. (2008) Lwt: A cooperative thread library. In Proceedings of the 2008 ACM SIGPLAN Workshop on ML, ML '08. New York, NY, USA: ACM, pp. 3\u201312.","DOI":"10.1145\/1411304.1411307"},{"key":"S0956796816000071_ref5","doi-asserted-by":"crossref","unstructured":"Bruggeman C. , Waddell O. & Dybvig R. K. (1996) Representing control in the presence of one-shot continuations. In Proceedings of the ACM SIGPLAN 1996 Conference on Programming Language Design and Implementation, PLDI '96. Philadelphia, Pennsylvania, USA: ACM, New York, NY, USA, pp. 99\u2013107.","DOI":"10.1145\/231379.231395"},{"key":"S0956796816000071_ref10","doi-asserted-by":"publisher","DOI":"10.1017\/S0956796810000201"},{"key":"S0956796816000071_ref18","doi-asserted-by":"publisher","DOI":"10.1016\/0096-0551(87)90003-8"},{"key":"S0956796816000071_ref7","unstructured":"Dolan S. , White L. , Sivaramakrishnan K. C. , Yallop J. & Madhavapeddy A. (2015) Effective concurrency through algebraic effects. In The OCaml Users and Developers Workshop, OCaml '15."},{"key":"S0956796816000071_ref9","doi-asserted-by":"crossref","unstructured":"Fluet M. , Rainey M. & Reppy J. (2008) A scheduling framework for general-purpose parallel languages. In Proceedings of the 13th ACM SIGPLAN International Conference on Functional Programming, ICFP '08. Victoria, BC, Canada: ACM, New York, NY, USA, pp. 241\u2013252.","DOI":"10.1145\/1411204.1411239"},{"key":"S0956796816000071_ref33","doi-asserted-by":"crossref","unstructured":"Reppy J. , Russo C. V. & Xiao Y. (2009) Parallel concurrent ML. In Proceedings of the 14th ACM SIGPLAN International Conference on Functional Programming, ICFP '09. Edinburgh, Scotland: ACM, New York, NY, USA, pp. 257\u2013268.","DOI":"10.1145\/1596550.1596588"},{"key":"S0956796816000071_ref8","doi-asserted-by":"publisher","DOI":"10.1016\/0096-0551(89)90018-0"},{"key":"S0956796816000071_ref28","doi-asserted-by":"crossref","unstructured":"Marsh B. D. , Scott M. L. , LeBlanc T. J. & Markatos E. P. (1991) First-class user-level threads. In Proceedings of the 13th ACM Symposium on Operating Systems Principles, SOSP '91. Pacific Grove, California, USA: ACM, New York, NY, USA, pp. 110\u2013121.","DOI":"10.1145\/121132.344329"},{"key":"S0956796816000071_ref30","unstructured":"Philbin J. F. (1993) The Design of an Operating System for Modern Programming Languages. Ph.D. thesis, Yale University, New Haven, CT, USA. UMI Order No. GAX93-29376."},{"key":"S0956796816000071_ref17","unstructured":"Haskell. (2016) Haskell Web Development. Available at: http:\/\/www.haskell.org\/haskellwiki\/Web\/Servers. Last accessed 10th June 2016."},{"key":"S0956796816000071_ref27","doi-asserted-by":"crossref","unstructured":"Marlow S. , Maier P. , Loidl H.-W. , Aswad M. K. & Trinder P. (2010) Seq no more: Better strategies for parallel Haskell. In Proceedings of the 3rd ACM Haskell Symposium on Haskell, Haskell '10. New York, NY, USA: ACM, pp. 91\u2013102.","DOI":"10.1145\/1863523.1863535"},{"key":"S0956796816000071_ref15","doi-asserted-by":"crossref","unstructured":"Harris T. , Marlow S. , Peyton-Jones S. & Herlihy M. (2005a) Composable memory transactions. In Proceedings of the 10th ACM SIGPLAN Symposium on Principles and Practice of Parallel Programming, PPoPP '05. Chicago, IL, USA: ACM, New York, NY, USA, pp. 48\u201360.","DOI":"10.1145\/1065944.1065952"},{"key":"S0956796816000071_ref36","doi-asserted-by":"publisher","DOI":"10.1017\/S0956796814000161"},{"key":"S0956796816000071_ref2","unstructured":"Async. (2016) Jane Street Capital\u015b asynchronous execution library. Available at: https:\/\/github.com\/janestreet\/async. Last accessed 10th June 2016."},{"key":"S0956796816000071_ref24","doi-asserted-by":"publisher","DOI":"10.1145\/2541883.2541895"},{"key":"S0956796816000071_ref21","unstructured":"Li P. , Marlow S. , Peyton Jones S. & Tolmach A. (2007) Lightweight concurrency primitives for GHC. In Proceedings of the ACM SIGPLAN Workshop on Haskell Workshop, Haskell '07. Freiburg, Germany: ACM, New York, NY, USA, pp. 107\u2013118."},{"key":"S0956796816000071_ref4","doi-asserted-by":"publisher","DOI":"10.1145\/202453.202472"},{"key":"S0956796816000071_ref13","unstructured":"GHC. (2016) Glasgow Haskell Compiler. Available at: http:\/\/www.haskell.org\/ghc. Last accessed 10th June 2016."},{"key":"S0956796816000071_ref32","volume-title":"Concurrent Programming in ml","author":"Reppy","year":"2007"},{"key":"S0956796816000071_ref6","doi-asserted-by":"crossref","unstructured":"Chakravarty M. M. T. , Leshchinskiy R. , Peyton Jones S. , Keller G. & Marlow S. (2007) Data parallel Haskell: A status report. In Proceedings of the 2007 Workshop on Declarative Aspects of Multicore Programming, DAMP '07. Nice, France: ACM, New York, NY, USA, pp. 10\u201318.","DOI":"10.1145\/1248648.1248652"},{"key":"S0956796816000071_ref16","doi-asserted-by":"crossref","unstructured":"Harris T. , Marlow S. & Jones S. P. (2005b) Haskell on a shared-memory multiprocessor. In Proceedings of the 2005 ACM SIGPLAN Workshop on Haskell, Haskell '05. Tallinn, Estonia: ACM, New York, NY, USA, pp. 49\u201361.","DOI":"10.1145\/1088348.1088354"},{"key":"S0956796816000071_ref23","doi-asserted-by":"crossref","unstructured":"Madhavapeddy A. , Mortier R. , Rotsos C. , Scott D. , Singh B. , Gazagnaire T. , Smith S. , Hand S. & Crowcroft J. (2013) Unikernels: Library operating systems for the cloud. In Proceedings of the Eighteenth International Conference on Architectural Support for Programming Languages and Operating Systems, ASPLOS '13. New York, NY, USA: ACM, pp. 461\u2013472.","DOI":"10.1145\/2451116.2451167"},{"key":"S0956796816000071_ref25","doi-asserted-by":"crossref","unstructured":"Marlow S. , Jones S. P. , Moran A. & Reppy J. (2001) Asynchronous exceptions in Haskell. In Proceedings of the ACM SIGPLAN 2001 Conference on Programming Language Design and Implementation, PLDI '01. Snowbird, Utah, USA: ACM, New York, NY, USA, pp. 274\u2013285.","DOI":"10.1145\/378795.378858"},{"key":"S0956796816000071_ref29","unstructured":"Microsoft Corp. (2016) Common Language Runtime (CLR). Available at: http:\/\/msdn.microsoft.com\/en-us\/library\/8bs2ecf4(v=vs.110)aspx. Last accessed 10th June 2016."},{"key":"S0956796816000071_ref31","unstructured":"Reid Ar. (1999) Putting the spine back in the spineless tagless G-machine: An implementation of resumable black-holes. In Selected Papers from the 10th International Workshop on 10th International Workshop. IFL '98. London, UK, UK: Springer-Verlag, pp. 186\u2013199."},{"key":"S0956796816000071_ref34","unstructured":"Shivers O. (1997) Continuations and threads: Expressing machine concurrency directly in advanced languages. Continuations Workshop."},{"key":"S0956796816000071_ref26","doi-asserted-by":"crossref","unstructured":"Marlow S. , Jones S. P. & Thaller W. (2004) Extending the Haskell foreign function interface with concurrency. In Proceedings of the 2004 ACM SIGPLAN Workshop on Haskell, Haskell '04. Snowbird, Utah, USA: ACM, New York, NY, USA, pp. 22\u201332.","DOI":"10.1145\/1017472.1017479"},{"key":"S0956796816000071_ref39","doi-asserted-by":"crossref","unstructured":"Wand M. (1980) Continuation-based multiprocessing. In Proceedings of the 1980 ACM Conference on LISP and Functional Programming, LFP '80. Stanford University, California, USA: ACM, New York, NY, USA, pp. 19\u201328.","DOI":"10.1145\/800087.802786"},{"key":"S0956796816000071_ref11","doi-asserted-by":"crossref","unstructured":"Frampton D. , Blackburn S. M. , Cheng P. , Garner R. J. , Grove D. , Moss J. E. B. & Salishev S. I. (2009) Demystifying magic: High-level low-level programming. In Proceedings of the 2009 ACM SIGPLAN\/SIGOPS International Conference on Virtual Execution Environments, VEE '09. Washington, DC, USA: ACM, New York, NY, USA, pp. 81\u201390.","DOI":"10.1145\/1508293.1508305"},{"key":"S0956796816000071_ref22","doi-asserted-by":"crossref","unstructured":"Lippmeier B. , Chakravarty M. , Keller G. & Peyton Jones S. (2012) Guiding parallel array fusion with indexed types. In Proceedings of the 2012 Haskell Symposium, Haskell '12. Copenhagen, Denmark: ACM, New York, NY, USA, pp. 25\u201336.","DOI":"10.1145\/2364506.2364511"},{"key":"S0956796816000071_ref40","unstructured":"Williams N. J. (2002) An implementation of scheduler activations on the NetBSD operating system. In Proceedings of the FREENIX Track: 2002 USENIX Annual Technical Conference. Berkeley, CA, USA: USENIX Association, pp. 99\u2013108."},{"key":"S0956796816000071_ref12","unstructured":"Galois. (2016) Haskell Lightweight Virtual Machine (HaLVM). Available at: http:\/\/corp.galois.com\/halvm. Last accessed 10th June 2016."},{"key":"S0956796816000071_ref1","doi-asserted-by":"crossref","unstructured":"Anderson T. E. , Bershad B. N. , Lazowska E. D. & Levy H. M. (1991) Scheduler activations: Effective kernel support for the user-level management of parallelism. In Proceedings of the 13th ACM Symposium on Operating Systems Principles, SOSP '91. Pacific Grove, California, USA: ACM, New York, NY, USA, pp. 95\u2013109.","DOI":"10.1145\/121132.121151"},{"key":"S0956796816000071_ref14","doi-asserted-by":"crossref","unstructured":"Hallgren T. , Jones M. P. , Leslie R. & Tolmach A. (2005) A principled approach to operating system construction in Haskell. In Proceedings of the 10th ACM SIGPLAN International Conference on Functional Programming, ICFP '05. New York, NY, USA: ACM, pp. 116\u2013128.","DOI":"10.1145\/1086365.1086380"},{"key":"S0956796816000071_ref19","unstructured":"HotSpotVM. (2016) Java SE HotSpot at a Glance. Available at: http:\/\/www.oracle.com\/technetwork\/java\/javase\/tech\/index-jsp-137187.html. Last accessed 10th June 2016."},{"key":"S0956796816000071_ref20","unstructured":"IBM. (2016) Java Platform Standard Edition (Java SE). Available at: http:\/\/www.ibm.com\/developerworks\/java\/jdk\/. Last accessed 10th June 2016."}],"container-title":["Journal of Functional Programming"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.cambridge.org\/core\/services\/aop-cambridge-core\/content\/view\/S0956796816000071","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,5,26]],"date-time":"2026-05-26T22:36:38Z","timestamp":1779834998000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.cambridge.org\/core\/product\/identifier\/S0956796816000071\/type\/journal_article"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2016]]},"references-count":40,"alternative-id":["S0956796816000071"],"URL":"https:\/\/doi.org\/10.1017\/s0956796816000071","relation":{},"ISSN":["0956-7968","1469-7653"],"issn-type":[{"value":"0956-7968","type":"print"},{"value":"1469-7653","type":"electronic"}],"subject":[],"published":{"date-parts":[[2016]]},"article-number":"e9"}}