3 ms·
At the same time, OCaml has a very simplistic memory layout where even integers are boxed - Java at least has primitive types. That surely has a performance co
by gf000 1y ago
At the same time, OCaml has a very simplistic memory layout where even integers are boxed - Java at least has primitive types.
That surely has a performance cost.
- dmpk2k 1y agoAre you sure about boxed integers? Perhaps you mean floats? As far as I know Ocaml uses the typical integer/pointer divide.
- orthoxerox 1y agoIIRC it has 31-bit integers, which means you can't natively work with 32-bit data without widening.
- zorobo 1y agoor 63 bits on 64 bit architectures.