Should I Haskell or OCaml?

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. awesome-fsharp

    A curated list of awesome F# frameworks, libraries, software and resources.

    2. https://github.com/fsprojects/awesome-fsharp#data-science

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. camlpdf

    OCaml library for reading, writing and modifying PDF files

    I think OCaml is more practical and actually has some parallels to Python. You may find these resources interesting:

    - Library to manipulate PDF documents: https://github.com/johnwhitington/camlpdf

    - Web framework: https://aantron.github.io/dream/

    - Scientific computing library: https://ocaml.xyz/

    Last, I wrote a couple of practical-focused OCaml guides:

    - https://dev.to/yawaramin/practical-ocaml-314j

    - https://dev.to/yawaramin/practical-ocaml-multicore-edition-3...

  4. candle

    Minimalist ML framework for Rust

    How did you select those two as your options?

    I'm just a hobbyist that enjoys programming, and I eventually wanted to expand beyond python. I looked at Haskell and read Learn You a Haskell and did some Exercism exercises but never got anywhere close to being able to use it for real projects. Have been trying to learn about Lisp lately and feel like I've come to a similar dead end.

    On the other hand, both Go and Rust have felt fulfilling and practical, with static typing and solid tooling, cross compilations, static binaries, and dependency management that is just a huge breath of fresh air coming from python.

    The ML / data science scene is nowhere near as developed as in Python, and I still lean on jupyter/polars/PyTorch here, but I think the candle project[0] seems very interesting. Compiling whisper down to a single CUDA-leveraging binary for fast local transcription is pretty cool!

    [0]: https://github.com/huggingface/candle

  5. learn-you-a-haskell

    “Learn You a Haskell for Great Good!” by Miran Lipovača

    Learn You a Haskell For Great Good! is also a really good resource:

    https://learnyouahaskell.com/

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

Did you know that F# is
the 54th most popular programming language
based on number of references?