Re: D lanuguage in the eyes of an outsider
From: Walter (walter_at_digitalmars.nospamm.com)
Date: 09/30/04
- Previous message: Jeff Kish: "Re: complicated recommendation.. sought"
- Next in thread: Walter: "Re: D lanuguage in the eyes of an outsider"
- Maybe reply: Walter: "Re: D lanuguage in the eyes of an outsider"
- Reply: Otto Wyss: "Re: D lanuguage in the eyes of an outsider"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: Jeff Kish: "Re: complicated recommendation.. sought"
- Next in thread: Walter: "Re: D lanuguage in the eyes of an outsider"
- Maybe reply: Walter: "Re: D lanuguage in the eyes of an outsider"
- Reply: Otto Wyss: "Re: D lanuguage in the eyes of an outsider"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|