News for hackers. Stuff that matters.
Re:Ali Cehreli Introduces Dlang at Northeastern U by LAC-Tech on Tuesday October 11, 2022 @09:34PM (#33171661)
I 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.

There are no comments on this comment yet.