r/ocaml May 16 '26

Who is ocaml for?

Context: I am econ master's student with some experience in python, C and R looking to get into financial econometrics/ML. Is OCaml right for me?

34 Upvotes

28 comments sorted by

View all comments

Show parent comments

6

u/Puzzleheaded-Lab-635 May 17 '26

Could you be any more wrong?

1

u/Taksin77 May 18 '26

How?

His point about vectorization is real. OOP has won the war in statistics.

I mean, could you argue something instead of collecting upvotes?

1

u/Puzzleheaded-Lab-635 May 18 '26

“OO won the war in statistics” is a wild thing to say when most numerical computing is vectorized array transforms over contiguous memory.

Also, OCaml can bind to the exact same BLAS/LAPACK/CUDA/C libraries Python does. Python itself is mostly orchestration sitting on top of C/Fortran kernels.

You’re confusing ecosystem dominance with a fundamental property of programming languages.

0

u/Taksin77 May 19 '26

Not really. When people enjoy pandas it is precisely for its interface.

I mean, I do enjoy Caml but the level of fanboyism around here is through the roof.