Software Alternatives, Accelerators & Startups

D (Programming Language) VS Common Lisp

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

D (Programming Language) logo D (Programming Language)

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

Common Lisp logo Common Lisp

The modern, multi-paradigm, high-performance, compiled, ANSI-standardized descendant of the long-running family of Lisp programming languages
  • D (Programming Language) Landing page
    Landing page //
    2023-05-09
  • Common Lisp Landing page
    Landing page //
    2023-09-18

We recommend LibHunt Common Lisp for discovery and comparisons of trending Common Lisp projects.

D (Programming Language) features and specs

  • Performance
    D is designed to be a high-performance systems programming language, offering performance comparable to C and C++ through native machine code compilation.
  • Expressiveness
    D features a rich standard library and modern language constructs, such as garbage collection, first-class arrays, and advanced templating, making it easier to write expressive and maintainable code.
  • Memory Safety
    D offers optional garbage collection along with manual memory management. This hybrid approach can help in developing safer applications by reducing memory-related errors.
  • Interoperability
    D can easily interoperate with C API, enabling seamless integration with existing C libraries and systems. It also supports better C++ interoperability compared to other languages.
  • Built-in Unit Testing
    D has built-in support for unit tests, allowing developers to write and run tests as part of the language itself, facilitating test-driven development.
  • Concurrency
    D offers built-in concurrency support with message passing, similar to the actor model found in languages like Erlang, making it easier to write concurrent and parallel programs.

Possible disadvantages of D (Programming Language)

  • Adoption
    D is not as widely adopted as other languages like C, C++, or Java. This limited adoption means fewer libraries, frameworks, and community support.
  • Toolchain Maturity
    While D's compilers and tools have improved over the years, they may still lack the maturity and feature set of more established languages, which can affect developer productivity.
  • Learning Curve
    D's richness and combination of paradigms (such as imperative, object-oriented, and functional programming) can present a steep learning curve for new developers.
  • Garbage Collection
    Although D offers optional garbage collection, its reliance on it for memory safety might be seen as a drawback for real-time system development where deterministic memory management is crucial.
  • Ecosystem
    The ecosystem for D is less vibrant compared to more popular languages, leading to potentially fewer third-party libraries, tools, and resources.
  • Standard Library Documentation
    The standard library documentation can be inconsistent or less comprehensive compared to other languages, making it difficult for developers to fully utilize all features of the language.

Common Lisp features and specs

  • Powerful Macro System
    Common Lisp offers a robust macro system that allows for metaprogramming, letting developers easily extend the language and create domain-specific languages.
  • Dynamic Typing
    Common Lisp supports dynamic typing, which allows for more flexibility in coding and prototyping, reducing the amount of boilerplate code needed.
  • Interactive Development Environment
    It provides a powerful REPL (Read-Eval-Print Loop) that aids in interactive and iterative software development, enabling quick testing and debugging.
  • Portability
    Code written in Common Lisp can be run on different platforms without modification, thanks to its standardized specification and portability across implementations.
  • Rich Standard Library
    Common Lisp comes with a comprehensive standard library that includes a wide range of utilities for data manipulation, I/O operations, and more.

Possible disadvantages of Common Lisp

  • Steep Learning Curve
    The language has an extensive set of features and a unique syntax, which can be difficult for beginners to learn and master.
  • Limited Ecosystem
    Compared to more modern languages, Common Lisp has a smaller ecosystem of libraries and community support, which can hinder development speed and resources.
  • Performance Variability
    Performance can vary significantly between different implementations of Common Lisp due to variations in optimizing compilers and runtime environments.
  • Obscure Syntax
    The syntax can be difficult to read and understand, especially for those coming from more conventional languages like Python or JavaScript.
  • Commercial Use Challenges
    Common Lisp's licensing and support can be less favorable for commercial use compared to other mainstream programming languages.

D (Programming Language) videos

D Language Tutorial

Common Lisp videos

Common Lisp Study Group - A In-depth Look into CLOS (part 1)

More videos:

  • Review - Common Lisp Study Group - Closures and Macro Basics

Category Popularity

0-100% (relative to D (Programming Language) and Common Lisp)
Programming Language
68 68%
32% 32
OOP
73 73%
27% 27
Generic Programming Language
Development
56 56%
44% 44

User comments

Share your experience with using D (Programming Language) and Common Lisp. 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 Common Lisp. It has been mentiond 56 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 (56)

  • Koto Programming Language
    >For me the biggest gap in programming languages is a rust like language with a garbage collector, instead of a borrow checker. I cannot agree more that's the much needed sweet spot/Goldilock/etc. Personally I have been advocating this approach for some times. Apparently the language is already widely available and currently has stable and wide compiler support including the venerable GNU compiler suite (GDC). It... - Source: Hacker News / about 1 month ago
  • Apple didn't fix Swift's biggest flaw
    Those languages are definitely with us, https://dlang.org/ https://www.embarcadero.com/products/delphi https://www.mikroe.com/mikropascal-arm https://www.eiffel.com/ https://www.ptc.com/en/products/developer-tools/objectada. - Source: Hacker News / 11 months ago
  • 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 / over 1 year ago
  • Small Joys with Odin
    >and D The D language, that is. https://dlang.org. - Source: Hacker News / almost 2 years 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 / almost 2 years ago
View more

Common Lisp mentions (11)

  • Origins of the Lisp logo
    The yin-yang logo with lambdas was designed by Guy Steele, and he has granted permission for its use to Common Lisp Foundation (the entity which runs common-lisp.net website and the gitlab.common-lisp.net repo). Source: about 2 years ago
  • New open source Common Lisp 3D graphics project -- call for participation
    A wiki and pm tool I personally like a lot, simple, lightweight, is trac but there is no free hosting available — but I could work on hosting on AWS for instance. MoinMoin is also a good and simple wiki. You are using Medium a lot, which could also be a sensible option but it is more a publishing platform than a collaborative platform. Gitlab is also a popular choice I believe and we could use the instance on... Source: almost 3 years ago
  • common-lisp.net down
    Does anybody have information how the content on common-lisp.net is handled? Source: about 3 years ago
  • common-lisp.net down
    Any insight into the current down-time for common-lisp.net? Source: about 3 years ago
  • What should be my next programming language?
    Python seems like a popular option these days and it is different enough from C++ in that it may teach you to think about programming in a different way. You could also try a functional language such as Lisp, Scheme) or Haskell -- they too will make you think differently about programming. Source: about 3 years ago
View more

What are some alternatives?

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

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

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

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

V (programming language) - Simple, fast, safe, compiled language for developing maintainable software.

F# - F# is a mature, open source, cross-platform, functional-first programming language.

Perl - Highly capable, feature-rich programming language with over 26 years of development