Software Alternatives & Reviews

D (Programming Language) VS OCaml

Compare D (Programming Language) VS OCaml and see what are their differences

D (Programming Language) logo D (Programming Language)

D is a language with C-like syntax and static typing.

OCaml logo OCaml

(* Binary tree with leaves carrying an integer.
  • D (Programming Language) Landing page
    Landing page //
    2023-05-09
  • OCaml Landing page
    Landing page //
    2023-10-03

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

D (Programming Language) videos

D Language Tutorial

OCaml videos

Uncommon Languages: OCaml

More videos:

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

Category Popularity

0-100% (relative to D (Programming Language) and OCaml)
Programming Language
60 60%
40% 40
OOP
63 63%
37% 37
Generic Programming Language
Development
100 100%
0% 0

User comments

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

Social recommendations and mentions

Based on our record, D (Programming Language) should be more popular than OCaml. It has been mentiond 54 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.

D (Programming Language) mentions (54)

  • Berry is a ultra-lightweight dynamically typed embedded scripting language
    Show examples on the main web page. Try and find an AngelScript example. It's stupidly hard. Compare it to these web sites: https://dlang.org/ https://koka-lang.github.io/koka/doc/index.html https://vale.dev/ http://mu-script.org/ https://go.dev/ https://www.hylo-lang.org/ Sadly Rust fails this too but at least the Playground is only one click away. And Rust is mainstream anyway so it doesn't matter as much. I... - Source: Hacker News / 7 months ago
  • Small Joys with Odin
    >and D The D language, that is. https://dlang.org. - Source: Hacker News / 10 months ago
  • Red Programming Language
    You are both right it seems. GP seems to have omitted withour GC. Number one on your list could be Dlang no? Not affiliated. https://dlang.org/. - Source: Hacker News / 10 months ago
  • Is there a type-theoretical difference between generics and compile-time metaprogramming?
    Check out D. It has Turing-Complete templates with specialised static if, static foreach, version, and debug constructs, all as statements and declarations, as well as more general quasiquoting expressions and declarations with mixin (yes, that is the same as Ruby's, Python's or PHP's eval, but at compile-time; in fact you can import() files at compile-time too and write a compiler in user code that compiles... Source: 10 months ago
  • 'Switch' and 'Computed Goto'
    According to dlang.org, D declarations go right to left:. Source: about 1 year ago
View more

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

What are some alternatives?

When comparing D (Programming Language) and OCaml, you can also consider the following products

C++ - Has imperative, object-oriented and generic programming features, while also providing the facilities for low level memory manipulation

Rust - A safe, concurrent, practical language

Go Programming Language - Go, also called golang, is a programming language initially developed at Google in 2007 by Robert...

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

Nim (programming language) - The Nim programming language is a concise, fast programming language that compiles to C, C++ and JavaScript.

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