Top 3 use cases for D

Atila Neves atila.neves at gmail.com
Wed Oct 9 06:48:36 UTC 2024


On Tuesday, 8 October 2024 at 20:07:38 UTC, Araq wrote:
> On Tuesday, 1 October 2024 at 02:56:11 UTC, Atila Neves wrote:
>
>> Subjectively, because D is the language that annoys me the 
>> least. Objectively, because I write less code with fewer bugs 
>> that does a lot more. In what other language can I write a dub 
>> package* that autowraps D code so it can be called in Excel 
>> and/or Python in two lines, one of which is an import??
>>
>> * https://github.com/symmetryinvestments/autowrap
>
> In any language with a decent macro system: Nim and probably 
> Rust, Elixir and Julia...

In Rust's case, at least, it would be a lot more code, and a lot 
more complicated. In D it's straightforward imperative code.

C++ is turing-complete at compile-time just as well as D is. But 
a lot harder to do.


More information about the Digitalmars-d mailing list