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.
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
/
3 months ago
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
/
12 months ago
>and D The D language, that is. https://dlang.org.
– Source: Hacker News
/
about 1 year ago
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
/
about 1 year ago
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:
about 1 year ago
According to dlang.org, D declarations go right to left:.
Source:
over 1 year ago
But yeah, sometimes it takes a tremendous effort of will to do what needs to be done and not dork around with a personal project or teach myself more D.
Source:
over 1 year ago
Are you saying she wants the D? Because that’s a total brainfuck. I’d much rather believe they merely fell in Löve.
Source:
over 1 year ago
There a precedents for both.
Skew evaluates top-level if declarations at compile-time. It also has a neat postfix if guard for attributes (eg. @skip if Linux).
D has specialised static if, static foreach, version, debug, all as statements and declarations, as well as more general quasiquoting expressions and declarations with mixin.
Source:
over 1 year ago
But isn’t such a language already there? It’s called the D Programming Language [1]. Sorry a bit tongue-in-cheek, but I’m getting tired of all these ‘even-more-awesome’ new programming language variants of C++. [1] https://dlang.org/.
– Source: Hacker News
/
over 1 year ago
Why do you want use C again? Working with legacy code? Otherwise have a look at Dlang. C is by definition unsafe, and it is never safe to program in C. But you can follow some guidelines to minimize the chance of unsafe errors. I guess you knew this already.
Source:
over 1 year ago
The D Programming Language with a few changes:.
Source:
over 1 year ago
There is a programming language called D (https://dlang.org/), this might have caused confusion for some people. (Technically, there used to be a language called B, too, but I don’t think it has been in use since before I was born.).
– Source: Hacker News
/
over 1 year ago
I’m surprised that nobody has mentioned the D Programming Language yet. It’s been around for a long time, and it’s a crying shame that D hasn’t reached anything like critical mass (yet?!).
Source:
over 1 year ago
Yeah the D programming language, https://dlang.org/ one of my favorite languages to program in. It’s unfortunately not used a lot in bioinformatics, and deserves more attention in my opinion. E.g. Sambamba for working with sam/bam files is written in it (https://github.com/biod/sambamba) it’s one of the most performant tools for working with NGS data because it uses async io and fibers.
Source:
almost 2 years ago
D is a systems language though and has been around much longer. It happens to be in major version 2. https://dlang.org/.
Source:
almost 2 years ago
Very unfortunate naming choice since D exists, is currently in major version 2 and sometimes referred to as D2, vs the legacy D1.
Source:
almost 2 years ago
The project is written in D (similar syntax to C/C++) and using bindc-lua to talk to Lua.
Source:
almost 2 years ago
Lastly, my preferred language, the D programming language (https://dlang.org) uses a custom conservative GC as well, and the veterans of the community(ones who’ve been there longer than 7-10 years) tell me that ever since the switch to 64 bit, the collector has had little to no problems, can’t be certain about long or’running processes like servers though.
Source:
almost 2 years ago
I’m currently exploring the idea of building an application using Dolt and Dlang.
– Source: dev.to
/
almost 2 years ago
Should the Dlang people decide to offer their D2, this project willl have a hard time to be found on the net.
Source:
about 2 years ago