2007 · 20 citations · 3 references
ComputingComputer EngineeringComputer ScienceCompilersComputer ArchitectureProgramming LanguagesConcurrency AnalysisConcurrency ControlConcurrent ProgrammingConstraint SatisfactionParallel Computing SystemsConcurrency LogicConcurrent Logic ProgrammingConstraint Handling RulesConstraint Logic ProgrammingConstraint RulesMulticore Processor ArchitectureProcessor ArchitectureTransactional Memory
Constraint Handling Rules (CHR) is a concurrent committed-choice constraint logic programming language to describe transformations (rewritings) among multi-sets of constraints (atomic formulae). CHR is widely used in a range of applications spanning from type system design to artificial intelligence. However, none of the existing CHR implementations we are aware of exploits concurrency or parallelism explicitly. We give a concurrent CHR implementation using GHC (Glasgow Haskell Compiler) with support for Software Transactional Memory. We achieve some significant performance improvements compared to a single-threaded CHR implementation. We obtain a further speed-up, in some cases nearly close to the optimum of 100%, when running programs under under a dual-core processor architecture. Our results show that CHR can be implemented efficiently on a multi-core architecture.
3
Composable memory transactions
Tim Harris, Simon Marlow, Simon Peyton-Jones et al. · 2005 · 716 citations
Composable memory transactions
Tim Harris, Simon Marlow, Simon Peyton Jones et al. · Communications of the ACM · 2008 · 224 citations
Thom Frühwirth · 2006 · 12 citations