• Experiences with D

    From Nightfox@DIGDIST/BATTLEST/FREEWAY to All on Mon Apr 3 09:22:00 2017
    I added this D message area over the weekend. I'm curious, has anyone had any experience with the D programming language? I haven't used it myself, so I'm curious if anyone has and what you think of it compared to C++, etc.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From Deavmi@DIGDIST/BATTLEST/FREEWAY to Nightfox on Mon Apr 3 13:04:00 2017
    I added this D message area over the weekend. I'm curious, has anyone had any experience with the D programming language? I haven't used it myself, so I'm curious if anyone has and what you think of it compared to C++, etc.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com



    I have played around with D and I must say it is a very nice language. In terms of comparing it to C++ well I don't know much of either (especially C++) so I cannot say much. I do know that classes are reference types in D unlike value-types in C++.

    Once I study it I will be more active here. I do like D a lot though, +----+----+----+----+----+----+----+----+----+----+
    Tristan B. Kildaire (deavmi@kk4qbn.synchro.net)
    Info: `finger deavmi@kk4qbn.synchro.net` +----+----+----+----+----+----+----+----+----+----+

    ---
    ­ Synchronet ­ KK4QBN + (706)-422-9538 + kk4qbn.synchro.net + 24/7/365
  • From Deavmi@DIGDIST/BATTLEST/FREEWAY to Nightfox on Tue Apr 4 17:03:00 2017
    I added this D message area over the weekend. I'm curious, has anyone had any experience with the D programming language? I haven't used it myself, so I'm curious if anyone has and what you think of it compared to C++, etc.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com



    It has dynamic arrays :).

    Does C++ have that?

    +----+----+----+----+----+----+----+----+----+----+
    Tristan B. Kildaire (deavmi@kk4qbn.synchro.net)
    Info: `finger deavmi@kk4qbn.synchro.net` +----+----+----+----+----+----+----+----+----+----+

    ---
    ­ Synchronet ­ KK4QBN + (706)-422-9538 + kk4qbn.synchro.net + 24/7/365
  • From Deavmi@DIGDIST/BATTLEST/FREEWAY to All on Fri Aug 4 18:31:00 2017
    On 2017-04-04 11:03 PM, Deavmi wrote:

    I added this D message area over the weekend. I'm curious, has anyone had >> any experience with the D programming language? I haven't used it myself, so
    I'm curious if anyone has and what you think of it compared to C++, etc.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com



    It has dynamic arrays :).

    Does C++ have that?

    +----+----+----+----+----+----+----+----+----+----+
    Tristan B. Kildaire (deavmi@kk4qbn.synchro.net)
    Info: `finger deavmi@kk4qbn.synchro.net` +----+----+----+----+----+----+----+----+----+----+

    By the way. One thing that makes D really nice are the reference types
    for class types and value types for structs (which they add a lot of
    features too that almost make them like classes except for things like polymorphism (I think)) and inheritance. So you have the best of both
    worlds. Defintaley something I want to implement in one of my languages
    in the future :).

    ---
    ­ Synchronet ­ KK4QBN + (706)-422-9538 + kk4qbn.synchro.net + 24/7/365
  • From jagossel@DIGDIST/BATTLEST/FREEWAY to Deavmi on Fri Aug 4 15:24:00 2017
    Re: Re: Experiences with D
    By: Deavmi to All on Fri Aug 04 2017 18:31:56

    By the way. One thing that makes D really nice are the reference types
    for class types and value types for structs (which they add a lot of features too that almost make them like classes except for things like polymorphism (I think)) and inheritance. So you have the best of both worlds. Defintaley something I want to implement in one of my languages
    in the future :).

    C# is the same way: structs are passed by value and classes are passed by reference.

    I never ran into a need to do an inheritance on a struct, so I'm not really sure if C# would support inheritance for a struct.

    -jag
    Code it, script it, automate it!

    ---
    þ Synchronet þ KK4QBN + (706)-422-9538 + kk4qbn.synchro.net + 24/7/365
  • From Deavmi@DIGDIST/BATTLEST/FREEWAY to All on Wed Sep 13 20:55:00 2017
    On 2017-04-04 11:03 PM, Deavmi wrote:

    I added this D message area over the weekend. I'm curious, has anyone had >> any experience with the D programming language? I haven't used it myself, so
    I'm curious if anyone has and what you think of it compared to C++, etc.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com



    It has dynamic arrays :).

    Does C++ have that?

    +----+----+----+----+----+----+----+----+----+----+
    Tristan B. Kildaire (deavmi@kk4qbn.synchro.net)
    Info: `finger deavmi@kk4qbn.synchro.net` +----+----+----+----+----+----+----+----+----+----+

    As posted in the DOVE-Net.programming group I have recently been doing
    some programming in D. Specifically learning its standard library by
    looking at its std.socket module. Very nice standard library I must say
    and a great language too. Like many say, Walter Bright knows good
    language design and he really does; for sure!

    I also tried out templating for the first time. I like how D does it :)

    ---
    ­ Synchronet ­ KK4QBN + (706)-422-9538 + kk4qbn.synchro.net + 24/7/365