Software Alternatives, Accelerators & Startups

D (Programming Language) VS Practical Common Lisp

Compare D (Programming Language) VS Practical 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.

Practical Common Lisp logo Practical Common Lisp

Learning Resources
  • D (Programming Language) Landing page
    Landing page //
    2023-05-09
  • Practical Common Lisp Landing page
    Landing page //
    2019-12-25

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.

Practical Common Lisp features and specs

  • Comprehensive Introduction
    The book offers a thorough introduction to Common Lisp programming, catering to both beginners and experienced programmers by covering the basics and advanced topics.
  • Practical Approach
    It emphasizes practical applications of Lisp, with numerous examples and projects that illustrate real-world usage, making it useful for learning how to write practical and efficient code.
  • Engaging Writing Style
    The author maintains an engaging and accessible writing style that keeps readers interested while explaining complex concepts in an understandable manner.
  • Free Access Online
    The book is available for free online, providing easy access to anyone interested in learning about Common Lisp without financial barriers.

Possible disadvantages of Practical Common Lisp

  • Assumes Prior Programming Knowledge
    The book may assume that readers have some programming background, which might make it challenging for complete beginners to grasp certain concepts quickly.
  • Dated Examples
    Given its publication date, some examples might be somewhat outdated in terms of current technological standards and might not represent the latest best practices in programming.
  • Focus on High-Level Understanding
    While it covers many aspects of Lisp, the book might not delve deeply into certain advanced technical details, which could be a downside for those seeking in-depth technical expertise.
  • Limited Coverage of Modern Libraries
    The book might not address newer libraries and tools that have emerged in the Lisp ecosystem since its publication, potentially missing out on some modern practices.

Analysis of D (Programming Language)

Overall verdict

  • Overall, D is a solid programming language choice that balances performance with productivity. It may not be as widely adopted as some other languages, but it has a dedicated community and continues to evolve, making it a viable option for various programming tasks.

Why this product is good

  • The D programming language is considered good by many developers for various reasons. It combines the performance and low-level control of C/C++ with the expressive power and ease of use found in modern languages. D offers features like garbage collection, first-class functions, and compile-time function execution, providing both speed and flexibility. Its interoperability with C, the convenience of a powerful standard library (Phobos), and the availability of packages via the DUB package manager make it a practical choice for systems programming, application development, and rapid prototyping.

Recommended for

  • System programming enthusiasts looking for an alternative to C/C++
  • Developers interested in writing high-performance applications
  • Programmers who appreciate modern language features and strong community support
  • Projects requiring seamless C integration
  • Individuals looking for a language that supports easy code maintenance and scalability

D (Programming Language) videos

D Language Tutorial

Practical Common Lisp videos

Practical Common Lisp

More videos:

  • Review - Practical Common Lisp

Category Popularity

0-100% (relative to D (Programming Language) and Practical Common Lisp)
Programming Language
80 80%
20% 20
Education
0 0%
100% 100
OOP
82 82%
18% 18
Generic Programming Language

User comments

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

Social recommendations and mentions

D (Programming Language) might be a bit more popular than Practical Common Lisp. We know about 56 links to it since March 2021 and only 52 links to Practical Common Lisp. 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 / 3 months 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 / about 1 year 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

Practical Common Lisp mentions (52)

  • I Chose Common Lisp
    I began learning Common Lisp (CL) from the Common Lisp HyperSpec (CLHS): https://www.lispworks.com/documentation/HyperSpec/Front/Contents.htm When I began learning CL about two decades ago, I did not know of any other source, so CLHS was my only source back then and I think it has served me well. A popular recommendation these days is Practical Common Lisp (by Peter Seibel): https://gigamonkeys.com/book/. - Source: Hacker News / 5 months ago
  • Holding a Program in One's Head (2007)
    A quote originally (AFAIK) from the wonderful (and free!) book 'Practical Common Lisp'. https://gigamonkeys.com/book/. - Source: Hacker News / 9 months ago
  • Defense of Lisp Macros
    The Giga Monkeys Book, Practical Common Lisp is also excellent: https://gigamonkeys.com/book/. - Source: Hacker News / 11 months ago
  • The Loudest Lisp Program
    > So it's really pick your poison; either the child controls the call, at the risk of doing it wrong or not at all, or it doesn't but then certain things become impossible. CL lets you do both in various ways: the typical way to define a constructor is an :AFTER method that just sets the slots (fields in other languages) of the object and having a lot of behavior in constructors is unusual. You can also define an... - Source: Hacker News / about 1 year ago
  • The Loudest Lisp Program
    There are a bunch of things to learn from Lisp: * list processing -> model data as lists and process those * list processing applied to Lisp -> model programs as lists and process those -> EVAL and COMPILE * EVAL, the interpreter as a Lisp program * write programs to process programs -> code generators, macros, ... * write programs in a more declarative way -> a code generator transforms the description into... - Source: Hacker News / about 1 year ago
View more

What are some alternatives?

When comparing D (Programming Language) and Practical 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.

Land of Lisp - Learning Resources

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

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

Zig - Zig is a general-purpose programming language designed for robustness, optimality, and maintainability.

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