News for hackers. Stuff that matters.
Re:OxCaml - a set of extensions to the OCaml programming lan... by notnullorvoid on Friday June 13, 2025 @05:19PM (#44272361)
That makes sense, I guess I've got web tunnel vision.
Re:OxCaml - a set of extensions to the OCaml programming lan... by sheepscreek on Friday June 13, 2025 @09:41PM (#44273640)
I was bit by the same spider that gave you web tunnel vision. In any case, I find OCaml too esoteric for my taste. F# is softer and feels more..modern perhaps? But I don’t think GC can be avoided in dotnet.
Re:OxCaml - a set of extensions to the OCaml programming lan... by debugnik on Saturday June 14, 2025 @02:57AM (#44274705)
You can avoid GC in hot loops in F# with value-types, explicit inlining, and mutability.

Mutability may not result in very idiomatic code however, although it can often be wrapped with a functional API (e.g. parser combinators).