The problem is that you cannot have GC roots in registers across points where the GC might run. This is not really acceptable for a proper GC. The additional spilling will severely harm performance.
lpw25
5
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| OCaml LLVM backend? | 19 | 6095 | June 2, 2025 | |
| Ocamlopt vs Duplo/LLVM code generation | 11 | 1801 | September 16, 2020 | |
| OCaml compiler development newsletter, issue 4: October 2021 | 9 | 2840 | November 25, 2021 | |
| Advantages of OCaml over Rust | 76 | 33379 | September 4, 2019 | |
| A proposal for a resource-management model for OCaml | 29 | 7610 | January 1, 2021 |