Re: D lanuguage in the eyes of an outsider

From: Walter (walter_at_digitalmars.nospamm.com)
Date: 09/30/04

  • Next message: Walter: "Re: D lanuguage in the eyes of an outsider"
    Date: Thu, 30 Sep 2004 21:33:36 GMT
    
    

    "Otto Wyss" <otto.wyss@orpatec.ch> wrote in message
    news:1gkpqd7.1sf6819s480kyN%otto.wyss@orpatec.ch...
    > Since digitalmars neither has a useful mailing list nor isn't there a
    > comp.lang.d newsgroup I'm going to post here. If someone else is able to
    > post a link to their forums just go ahead.

    The D newsgroup with the most activity in it is at news.digitalmars.com.

    > I've never coded anything in D but got interested lately. I'm neither an
    > expert C++ programmer, I just like to develop programms as good and as
    > easy as possible. I looked once at the feature of D and valued them
    > against C++/wxWidgets and posted them here
    > "http://groups.google.com/groups?hl=de&lr=&ie=UTF-8&threadm=878ycm5jpu.f
    > sf%40fbigm.here&rnum=9&prev=/groups%3Fq%3D%252BD%26hl%3Dde%26lr%3D%26ie%
    > 3DUTF-8%26group%3Dcomp.programming.*%26selm%3D878ycm5jpu.fsf%2540fbigm.h
    > ere%26rnum%3D9". I've looked a little through the threads here and at
    > dsource.org.
    >
    > My impression is, currently D is not ready to take over the role of C++
    > and IMO for another considerable time. But D could and should take over
    > the place of C. But that won't happen if you don't concentrate on the
    > strength of D and the strenght lays in all the small things which
    > currently are coded in C. Concentrate on libraries like libpng, libzip,
    > regex, etc. and try to position D as the best, the only alternatives for
    > these kind of tasks. Even write some of these small libraries yourself.
    > Only after you have succeeded that everybody starts using D for these
    > small things, larger ones will soon follow automatically all the way up
    > to the Linux kernel.

    D already has standard library modules for zip and regular expressions.

    > Even if you can establish D as a replacement for C don't ever think
    > about C++ unless there is a translater which does an almost 100% job.
    > Nobody is going to translate his code by hand and nobody just scrap his
    > existing code. So regadless how much better D might become it will only
    > happen if the workload for switching is reasonably low. And believe me
    > almost nobody will code in two different lanugages. And if these two
    > languages most probably are C++ and Java.

    While it is fairly easy to convert C code to D, it is harder to convert C++.
    The main difficulty is that a very large part of the design of C++ classes
    involves dealing with memory management. Most of this becomes a non-issue in
    D, but there can remain subtle dependencies in the code on those memory
    management features.

    That said, it is a lot easier for D and C++ to interoperate than Java and
    C++. If your C++ code has a C API for it, then it is trivial to access from
    D because D fully supports the C binary API.

    -Walter
    www.digitalmars.com/d/ The D Programming Language


  • Next message: Walter: "Re: D lanuguage in the eyes of an outsider"

    Relevant Pages

    • RE: Perf Library and connectivity errors
      ... Thanks you for posting in SBS newsgroup. ... between Exchange server and Client outlook application after installing SBS ... 9099 event can indicate a WMI issue on your Exchange ... connected are pasted below - where can I update the libraries? ...
      (microsoft.public.windows.server.sbs)
    • Re: Manipulating with large numbers in C
      ... The reason for this newsgroup's focus on portability has been ... reputation, and by extension the reputation of your product, by ... and nobody has ever said it did. ... It is your attitude and your behavior in this newsgroup that is ...
      (comp.lang.c)
    • Re: Physics of Ghosts (road to TOE)
      ... There is nobody in this newsgroup ... using that alias. ... 5> Where is the alleged irony, ...
      (comp.os.os2.advocacy)
    • Re: Whats your favourite *under_publicized* editing feature ofEmacs?
      ... There is nobody in this newsgroup using ... 41> alias. ... "Seamus" is the alias being referred to be Sissy, Cthun. ...
      (comp.os.os2.advocacy)
    • Re: share a variable across two libraries
      ... I have to share a variable across two libraries. ... build separately and share a common header file. ... This newsgroup is reserved for discussions about the ANSI/ISO standard for the C programming language. ...
      (comp.std.c)