3 ms·
> I definitely think there's a place for a GC'd, memory efficient, natively compiled language. Do you have a view on OCaml?
by lmm 4y ago
> I definitely think there's a place for a GC'd, memory efficient, natively compiled language.
Do you have a view on OCaml?
- LAC-Tech 4y agoI love ocaml, but it's not very memory efficient. Every value needs to be tagged, so an `int` only has 31 bits of numeric information. There's stuff like "Int32.t", but IIRC it takes up 8 bytes for 4 bytes of inty goodness. Then there's BigArray which can store them contiguously, but that doesn't carry over to records.