Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

D

578
136
+ 1
160
Perl

3.5K
934
+ 1
575
Add tool

D vs Perl: What are the differences?

What is D? Modern convenience. Modeling power. Native efficiency. D is a language with C-like syntax and static typing. It pragmatically combines efficiency, control, and modeling power, with safety and programmer productivity.

What is Perl? Highly capable, feature-rich programming language with over 26 years of development. Perl is a general-purpose programming language originally developed for text manipulation and now used for a wide range of tasks including system administration, web development, network programming, GUI development, and more.

D and Perl belong to "Languages" category of the tech stack.

"Compile-time function execution" is the primary reason why developers consider D over the competitors, whereas "Lots of libraries" was stated as the key factor in picking Perl.

Perl is an open source tool with 435 GitHub stars and 152 GitHub forks. Here's a link to Perl's open source repository on GitHub.

MIT, DuckDuckGo, and Tilt are some of the popular companies that use Perl, whereas D is used by AdRoll, Stockopedia, and 9Labs. Perl has a broader approval, being mentioned in 133 company stacks & 64 developers stacks; compared to D, which is listed in 6 company stacks and 6 developer stacks.

Manage your open source components, licenses, and vulnerabilities
Learn More
Pros of D
Pros of Perl
  • 16
    Compile-time function execution
  • 12
    Makes functional programming style easier
  • 12
    Productive
  • 12
    Much easier to do Concurrent/Parallel vs C/C++
  • 11
    Simple but Powerful template-based generics
  • 11
    Powerful static function to avoid macro
  • 10
    Meta program is much easier to read/write vs. C++
  • 9
    It support unittest etc
  • 9
    Assembler is support directly in the language
  • 9
    System program language like C++ and C
  • 9
    Supports code covarge directly in the compiler
  • 7
    Metaprogramming
  • 7
    Supports both manuel memory and garbage collection
  • 6
    Plugs directly into C
  • 6
    Easy to translate from Java and C# to D
  • 5
    Feels and looks like C, so it's easy to learn
  • 4
    Amazing developer productivity
  • 2
    Fast
  • 2
    Performance
  • 1
    Syntax uniformity across pre-compile/compile/runtime
  • 72
    Lots of libraries
  • 66
    Open source
  • 61
    Text processing
  • 54
    Powerful
  • 49
    Unix-style
  • 47
    Regex
  • 37
    Stable
  • 32
    Concise syntax
  • 29
    Hackerish
  • 22
    Easy to use
  • 16
    Swiss army chainsaw
  • 13
    Code Less Do More
  • 12
    CPAN
  • 9
    Freedom
  • 8
    All purpose
  • 5
    Readability
  • 5
    Familiar
  • 5
    Many ways to do it
  • 5
    Community
  • 4
    Object-Oriented
  • 4
    Modular
  • 4
    Smart (does alot for you)
  • 3
    Postmodern
  • 3
    It's the best one-off task language
  • 2
    For a man
  • 2
    Good man pages
  • 1
    Auto case variables
  • 1
    Single Source Library (CPAN)
  • 1
    Multi-threaded support
  • 1
    Multiparadigm
  • 1
    C-style
  • 1
    Hashes

Sign up to add or upvote prosMake informed product decisions

Cons of D
Cons of Perl
    Be the first to leave a con
    • 4
      Messy $/@/% syntax
    • 3
      No exception handling
    • 2
      Bad OO support
    • 2
      "1;"
    • 2
      No OS threads
    • 1
      Variables are global by default
    • 1
      Copy-on-create for interpreter-based threads
    • 1
      Barewords
    • 1
      Errors/warnings are ignored by default

    Sign up to add or upvote consMake informed product decisions

    20.8K
    46.7K
    2.2K
    13.4K
    68.1K
    - No public GitHub repository available -

    What is D?

    D is a language with C-like syntax and static typing. It pragmatically combines efficiency, control, and modeling power, with safety and programmer productivity.

    What is Perl?

    Perl is a general-purpose programming language originally developed for text manipulation and now used for a wide range of tasks including system administration, web development, network programming, GUI development, and more.

    Need advice about which tool to choose?Ask the StackShare community!

    What companies use D?
    What companies use Perl?
    Manage your open source components, licenses, and vulnerabilities
    Learn More

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with D?
    What tools integrate with Perl?

    Sign up to get full access to all the tool integrationsMake informed product decisions

    Blog Posts

    What are some alternatives to D and Perl?
    D3.js
    It is a JavaScript library for manipulating documents based on data. Emphasises on web standards gives you the full capabilities of modern browsers without tying yourself to a proprietary framework.
    Pathfinder
    Pathfinder is a new real-time routing service in public beta. Pathfinder calculates routes for transportation services. These routes are updated in real time as users make transportation or delivery requests. Through our SDKs, applications can subscribe to routes as they change in response to user requests.
    C lang
    JavaScript
    JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
    Python
    Python is a general purpose programming language created by Guido Van Rossum. Python is most praised for its elegant syntax and readable code, if you are just beginning your programming career python suits you best.
    See all alternatives