News for hackers. Stuff that matters.
Re:Ali Cehreli Introduces Dlang at Northeastern U by lmm on Tuesday October 11, 2022 @08:10PM (#33170984)
> I definitely think there's a place for a GC'd, memory efficient, natively compiled language.

Do you have a view on OCaml?

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.