News for hackers. Stuff that matters.
Re:Writing Performance Sensitive OCaml Code by thedufer on Friday May 12, 2017 @11:48PM (#14329450)
The section "OCaml Blocks and Values" at https://realworldocaml.org/v1/en/html/memory-representation-... is a good explanation.
Re:Writing Performance Sensitive OCaml Code by haimez on Saturday May 13, 2017 @02:19AM (#14329757)
Let me summarize: academic language, it's easy for the GC that way, and "if you though that Float boxing would kill performance you wouldn't have started down this path"
Re:Writing Performance Sensitive OCaml Code by ernst_klim on Saturday May 13, 2017 @03:14AM (#14329885)
Afaik flabmbda can do some float unboxing, and float unboxing is not impossible until you use generic value. Nope, OCaml is not "academic" but a very pragmatic language.