News for hackers. Stuff that matters.
Re:OCaml at Bloomberg by rowanG077 on Monday August 23, 2021 @08:25PM (#28283768)
That's because scripts in a game are not usually a performance bottleneck if kept to best practices. And you can bet your ass both unity and unreal have some ASM in their guts.
Re:OCaml at Bloomberg by gopiandcode on Tuesday August 24, 2021 @12:08AM (#28285000)
Yes, my point exactly, and in the places where people use OCaml, the overhead from not monomorphising generics isn't a performance bottleneck.
Re:OCaml at Bloomberg by rowanG077 on Tuesday August 24, 2021 @12:59AM (#28285259)
That's a self fulfilling prophecy. Of course OCaml isn't used there... Because it can't hit the performance target.
Re:OCaml at Bloomberg by jcelerier on Tuesday August 24, 2021 @01:39AM (#28285473)
Exactly, I mainly work on a C++ software and for my PhD rewrote all the core algorithms in OCaml... Boy that was slow, I'm never ever touching that language again for anything that needs peak performance.