Hit a bit of a wall in this project. The idiosyncrasies of the OCaml runtime mean that implementing this as a library has an unacceptable performance overhead.
If you try to implement it with immutable data structures, the GC gets you. If you implement it with mutable ones, it's the write barrier.
If you try to implement it with immutable data structures, the GC gets you. If you implement it with mutable ones, it's the write barrier.
Reposted from
Joe Cutler
I've started a project to implement Heartbeat Scheduling – a relatively new scheduling technique for nested parallelism – as a library in OCaml.
So far, I've built out a single example to smoke-test the idea. The results from a few limited microbenchmarks are promising.
github.com/alpha-conver...
So far, I've built out a single example to smoke-test the idea. The results from a few limited microbenchmarks are promising.
github.com/alpha-conver...
Comments