popcar2@programming.dev to Programming@programming.devEnglish · 1 year agoWhy I use the D programming language for scriptingopensource.comexternal-linkmessage-square22fedilinkarrow-up167arrow-down16file-text
arrow-up161arrow-down1external-linkWhy I use the D programming language for scriptingopensource.compopcar2@programming.dev to Programming@programming.devEnglish · 1 year agomessage-square22fedilinkfile-text
I’ve never used D but this really makes me want to give it a shot. Did anyone try it, and would you recommend using it?
minus-squareorangeboats@lemmy.worldlinkfedilinkEnglisharrow-up2·1 year ago I don’t know where D fits nowadays and which problem it’s trying to solve. My experience has been similar - it’s hard to categorize the language. As a low-level system language like C, C++, Rust, Zig? The garbage collector makes it a hard sell to other people, even though one can opt out of it. As a higher-level application language like Java and Go? D frequently gives me a “low-level language” feel, but I am not sure why. As a scripting language? I feel like its type system works against the rapid-prototyping coding style commonly seen in scripts.
My experience has been similar - it’s hard to categorize the language.
As a low-level system language like C, C++, Rust, Zig? The garbage collector makes it a hard sell to other people, even though one can opt out of it.
As a higher-level application language like Java and Go? D frequently gives me a “low-level language” feel, but I am not sure why.
As a scripting language? I feel like its type system works against the rapid-prototyping coding style commonly seen in scripts.