“the recent ICFP2020 paper has a lot of detail: Retrofitting Parallelism onto OCaml”
Retrofitting Parallelism onto OCaml
Multicore OCaml 的设计:兼容旧代码的近并发多核垃圾回收器
OCaml 是少数缺乏共享内存并行支持的现代托管系统编程语言。论文描述了面向 OCaml 多核扩展的“多数时间并发”垃圾回收器的设计、完整实现与评估。由于要给有数百万行既有代码的语言加上并行,必须同时保持语言特性和单线程代码性能的向后兼容,论文为此提出一系列新技术,并展示新 GC 在顺序程序的性能与兼容性之间取得平衡,同时在现代多核处理器上扩展良好。
HN 上的人(包括作者本人)一再引用它作为 Multicore OCaml 运行时与垃圾回收设计细节和基准测试的权威出处,用来回答为何给 OCaml 加多核很难、开销多大。
HN 书评
推荐在前,同类按时间 · 每篇最多保留 20 条,统计用全部提及“We have a preprint up of our paper that details the design of Multicore OCaml along with a range of performance comparisons:”
“our recent ICFP paper has a lot of detail”
“See Retrofitting Parallelism onto OCaml section 6.2 for parallel performance evaluation.”
“This is the design which will be upstreamed. See Retrofitting Parallelism onto OCaml for details.”
“you can find a fairly detailed analysis in our ICFP 20 paper:”
看全部 11 条 →
“Our paper last year covers most of why this is tricky:”
“Our paper from ICFP last year has extensive benchmarks against stock OCaml: Retrofitting Parallelism onto OCaml”
“We've written a couple of papers detailing the internals and the trade-offs involved: Retrofitting Parallelism onto OCaml (for parallelism)”
“there's also the extensive benchmarking from the ICFP2020 paper: Retrofitting Parallelism onto OCaml”
“He talked about the work to put a multicore-ready memory model[1] and GC[2] under OCaml.”
- Retrofitting Parallelism onto OCaml ↗matt_d · 2020-04-27 · 2 分
- Retrofitting Parallelism onto OCaml ↗jasim · 2020-04-28 · 4 分
- Retrofitting Parallelism onto OCaml ↗areski · 2020-04-30 · 2 分
- Retrofitting Parallelism onto OCaml ↗mseri · 2020-05-01 · 30 分