Software Alternatives & Reviews

OCaml VS Agda

Compare OCaml VS Agda and see what are their differences

OCaml logo OCaml

(* Binary tree with leaves carrying an integer.

Agda logo Agda

Agda is a dependently typed functional programming language. It has inductive families, i.e.
  • OCaml Landing page
    Landing page //
    2023-10-03

We recommend LibHunt OCaml for discovery and comparisons of trending OCaml projects.

  • Agda Landing page
    Landing page //
    2023-10-20

OCaml videos

Uncommon Languages: OCaml

More videos:

  • Review - What is Ocaml?
  • Review - OCaml – The Best Coding Language for Blockchain – Dr. Dray at Tezos LA

Agda videos

Twitch: Proving things using Agda!

More videos:

  • Review - AGDA Robot Vacuum Review

Category Popularity

0-100% (relative to OCaml and Agda)
Programming Language
67 67%
33% 33
OOP
65 65%
35% 35
Generic Programming Language
Dynamic Programming Language

User comments

Share your experience with using OCaml and Agda. For example, how are they different and which one is better?
Log in or Post with

Social recommendations and mentions

Based on our record, OCaml should be more popular than Agda. It has been mentiond 30 times since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

OCaml mentions (30)

  • Bringing more sweetness to ruby with sorbet types 🍦
    If you have been in the Ruby community for the past couple of years, it's possible that you're not a super fan of types or that this concept never passed through your mind, and that's totally cool. I myself love the dynamic and meta-programming nature of Ruby, and honestly, by the time of this article's writing, we aren't on the level of OCaml for type checking and inference, but still, there are a couple of nice... - Source: dev.to / 8 months ago
  • Notes about the ongoing Perl logo discussion
    An amazing example is Ocaml lang logo / mascot. It might be useful to talk with them to know what was the process behind this work. The About page camel head on Perl dot org header is also a pretty good example of simplification, but it's not a logo, just a friendly illustration, as the O'Reilly camel is. Another notable logo for this animal is the well known tobacco industry company, but don't get me started on... - Source: dev.to / 10 months ago
  • What can Category Theory do?
    Haskell and Agda are probably the most obvious examples. Ocaml too, but it is much older, so its type system is not as categorical. There is also Idris, which is not as well-known but is very cool. Source: 11 months ago
  • Key takeways from OpenAI CEO's 3-hour Senate testimony, where he called for AI models to be licensed by US govt. Full breakdown inside.
    NEAT is a fascinating algorithm. I've been interested in it ever since SethBling made a video about it playing Mario and this series of experiments about a variant of NEAT that evolves in real-time rather than by-generation. I'm finally getting to be just good enough of a programmer that I am actually considering writing my own (probably in OCaml because there's an unfortunate lack of NEAT implementations in... Source: 12 months ago
  • So Hows the Hackathon Going?
    Easier than haskell and easier for writing compilers: https://ocaml.org/. Source: 12 months ago
View more

Agda mentions (7)

  • If given a list of properties/definitions and relationship between them, could a machine come up with (mostly senseless, but) true implications?
    Still, there are many useful tools based on these ideas, used by programmers and mathematicians alike. What you describe sounds rather like Datalog (e.g. Soufflé Datalog), where you supply some rules and an initial fact, and the system repeatedly expands out the set of facts until nothing new can be derived. (This has to be finite, if you want to get anywhere.) In Prolog (e.g. SWI Prolog) you also supply a set of... Source: 10 months ago
  • What can Category Theory do?
    Haskell and Agda are probably the most obvious examples. Ocaml too, but it is much older, so its type system is not as categorical. There is also Idris, which is not as well-known but is very cool. Source: 11 months ago
  • Best Programming Language for Computational Proof
    Coq, Agda, Lean, Isabelle, and probably some others which are not coming to my mind at the moment, but those would be considered the major ones. Source: over 1 year ago
  • If C++ would be safe as Rust, Would you consider your current/next project be in C++?
    Safer doesn't mean better. You could proof program correctness, and get proven program with tools like Coq (https://news.ycombinator.com/) and Agda (https://wiki.portal.chalmers.se/agda/pmwiki.php). However, it leads to much higher cost of creating software than both C++ and Rust. It's a trade-off. A great thing about Rust is that the safety costs very little compared to Coq and Agda. Source: over 1 year ago
  • Do you feel static types have "won the war", so to speak?
    At the most extreme level, you disappear into a meditative solitary retreat for a couple of years to seek enlightenment, and when you emerge you're no longer a programmer who writes programs, you're a theorist who proves theorems in Agda, and you have transcended above things that are tainted by the inherent evil of the material plane like "side effects" and "business needs" and "delivery timelines" and "could you... Source: almost 2 years ago
View more

What are some alternatives?

When comparing OCaml and Agda, you can also consider the following products

Rust - A safe, concurrent, practical language

Coq - Coq is a proof assistant, which allows you to write mathematical proofs in a rigorous and formal...

Elixir - Dynamic, functional language designed for building scalable and maintainable applications

Isabelle - Isabelle is a proof assistant for writing and checking mathematical proofs by computer.

Go.CD - Open source continuous delivery tool allows for advanced workflow modeling and dependencies management.

Lean - Clean up your Live Photos