Software Alternatives, Accelerators & Startups

D (Programming Language) VS V (programming language)

Compare D (Programming Language) VS V (programming language) and see what are their differences

D (Programming Language) logo D (Programming Language)

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

V (programming language) logo V (programming language)

Simple, fast, safe, compiled language for developing maintainable software.
  • D (Programming Language) Landing page
    Landing page //
    2023-05-09
  • V (programming language) Landing page
    Landing page //
    2022-11-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.

V (programming language) features and specs

  • Fast Compilation
    V is designed to compile extremely fast, typically within less than a second, regardless of the size of the codebase.
  • Simplicity
    The syntax is simple and easy to learn, drawing inspiration from languages like Go and Python which reduces the learning curve for new developers.
  • Performance
    V aims to offer high performance akin to C, enabling developers to write highly efficient programs.
  • Safe Programming
    It includes built-in mechanisms to avoid common bugs and aims to provide safety features like immutable data structures and option types.
  • Single Binary
    V produces a single small binary without external dependencies, making distribution straightforward and more secure.
  • Cross-Platform
    V supports cross-compilation out of the box, allowing developers to build applications for multiple operating systems from a single codebase.

Possible disadvantages of V (programming language)

  • Maturing Ecosystem
    As a relatively new language, V's ecosystem, including libraries, frameworks, and community support, is still growing and may not be as mature as more established languages.
  • Limited Tooling
    Compared to more established languages, tools like IDE support, debuggers, and other development utilities are still limited or in early stages.
  • Smaller Community
    The community around V is smaller, which can result in fewer resources, tutorials, and third-party libraries being available.
  • Learning Curve for Advanced Features
    While the syntax is simple, mastering some of V's advanced features and paradigms may pose a learning curve to developers coming from more mainstream languages.
  • Rapid Changes
    As the language is still evolving, there can be rapid changes and updates which may introduce breaking changes or require frequent revisions of codebases.

D (Programming Language) videos

D Language Tutorial

V (programming language) videos

V Programming Language (Vlang): First Impression - Mike Shah

More videos:

  • Review - Introduction to V and its features (Sydney Computing Society)
  • Review - Testing the NEW "V" programming language!
  • Demo - Presentation of Vlang at IBM
  • Review - An introduction to V (Vlang)

Category Popularity

0-100% (relative to D (Programming Language) and V (programming language))
Programming Language
46 46%
54% 54
OOP
44 44%
56% 56
Generic Programming Language
Development
55 55%
45% 45

User comments

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

Social recommendations and mentions

V (programming language) might be a bit more popular than D (Programming Language). We know about 74 links to it since March 2021 and only 56 links to D (Programming Language). 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

V (programming language) mentions (74)

  • 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. https://vlang.io. - Source: Hacker News / about 1 month ago
  • Go Is a Well-Designed Language
    I think V [1] is what Go should’ve been. Simple, compiles fast, integrated language tooling, in fact quite similar to Go, but without all the dumb design decisions. Unlike Go, it has sum types, enums, immutable-by-default variables, option/result types, various other goodies and the syntax for for loops actually makes sense. It’s a shame that the compiler is quite buggy, but hopefully that’s going to improve. [1]... - Source: Hacker News / 4 months ago
  • Mantis - new file log driver
    Mantis is a type-safe web framework written in V that emphasizes explicit, magic-free code. - Source: dev.to / 4 months ago
  • Mantis, a web framework written in V
    For development, V offers both an interpreter and watch mode, combining the convenience of scripting languages with the type safety and performance of compiled languages. It even includes built-in channel-compatible concurrency - truly the best of both worlds. - Source: dev.to / 5 months ago
  • Lies we tell ourselves to keep using Golang
    What is quite interesting (after looking at their documentation), is that V lang[1] has all that is mentioned: `?`[2], `or`[2], sum types[4], and can return multiple values[5]. [1]: https://vlang.io/ [2]: https://github.com/vlang/v/blob/master/doc/docs.md#optionresult-types-and-error-handling [4]: - Source: Hacker News / 5 months ago
View more

What are some alternatives?

When comparing D (Programming Language) and V (programming language), 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.

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

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

Crystal (programming language) - Programming language with Ruby-like syntax that compiles to efficient native code.

Pike programming language - Dynamic programming language with a syntax similar to Java and C

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