5 ms·
You seem to have some familiarity with the language. Nonetheless, you're understating a bit the degree of integration with C. You can also: create a shared libr
by bachmeier 5y ago
You seem to have some familiarity with the language. Nonetheless, you're understating a bit the degree of integration with C. You can also: create a shared library in D and call it trivially from C or any language with a FFI, call C shared libraries with little effort from D, compile a C file and add the .o file to your D program compilation command directly, use dstep to write C bindings for you, and directly #include a C header file with dpp. C is more or less a subset of D at this point. C programmers can stick with what they know but use D for incremental elimination of pain points.
Edit: I added that first sentence because it's awkward to tell the creator of the language that his answer was incomplete.
- mlyle 5y ago> You seem to have some familiarity with the language. Just to note: Walter Bright, whom you replied to, is the creator of D.
- mrfox321 5y agoThe person you are replying to created D.
- baseballdork 5y ago> You seem to have some familiarity with the language. Well he should, he's the guy who created D.
- LAC-Tech 5y agoI've seen that guys name around before, I assume he knows who Walter is and was making a joke.
- smt88 5y agoYou assume wrong. It's the real guy.
- LAC-Tech 5y agoNo I mean I've seen bachmeier around the D community. possibly in IRC or the forums.
- WalterBright 5y agoThe other WalterBright is the evil one.
- mhh__ 5y agoHave you been time travelling recently? (https://en.m.wikipedia.org/wiki/Primer_(film) https://en.m.wikipedia.org/wiki/Primer_(film))
- zozbot234 5y ago> You seem to have some familiarity with the language. Remarkable understatement right there :-P
- VHRanger 5y agoreal r/dontyouknowwhoiam moment here
- tines 5y agoMore like r/woosh
- destructionator 5y agoActually, the truth is that Walter is a pretty poor D programmer who isn't that familiar with the language and knows next to nothing about the ecosystem outside dmd. It wouldn't surprise me if he genuinely didn't know about how dstep and dpp are used.
- zem 5y ago> You can also: create a shared library in D and call it trivially from C this is definitely a killer feature; i can think of very few languages that can do this. i think rust and zig are the only other two that have gotten any sort of popularity, though i would love to hear of any language i've missed.