Jump to page: 1 2 3
Thread overview
the 3rd great war - D Vs C#
Jul 23, 2004
Matthew
Jul 24, 2004
Gold Dragon
Jul 24, 2004
J C Calvarese
Jul 23, 2004
pragma
Jul 23, 2004
Ben Hinkle
Jul 24, 2004
Phill
Jul 24, 2004
Ben Hinkle
Jul 24, 2004
Phill
Jul 23, 2004
Helmut Leitner
Jul 23, 2004
Deja Augustine
Re: Project D.Net , the 3rd great war - D Vs C#
Jul 23, 2004
the Poor Novice
Jul 24, 2004
J C Calvarese
Jul 24, 2004
Deja Augustine
Aug 06, 2004
Niko Korhonen
Aug 06, 2004
Juanjo Álvarez
Aug 06, 2004
Niko Korhonen
Aug 06, 2004
Nick
Aug 06, 2004
Lord Syl
Aug 06, 2004
kinghajj
Aug 06, 2004
Berin Loritsch
Aug 06, 2004
Sean Kelly
Aug 07, 2004
Matthew
Aug 07, 2004
Sean Kelly
Aug 06, 2004
Berin Loritsch
Aug 06, 2004
Sean Kelly
Aug 06, 2004
Andy Friesen
Aug 22, 2004
Trejkaz Xaoza
Aug 06, 2004
Berin Loritsch
July 23, 2004
Goodday Fellows!
How does D surpass C# ? Any 5 best reasons, please?
Please don't mention the DMD and Wiki comparisons of D with other languages.I
just want to know the personal views of the this great community on this topic.


July 23, 2004
D compiles to host, and can thus avoid installation problems, and VM latencies (and there *are* VM latencies, no matter
what the .NET advocates tell you)
D has very few libs, whereas .NET has a wealth of them.
D has proper templates. .NET does not
D can directly link to C functions. .NET must interface via P/Invoke
D has a reasonably responsive provider. Try getting your ideas adopted into .NET
D has very little exposure in the industry. .NET doesn't have this problem.
D has an overhead of about 60k (which is too much). .NET's overhead is measured in megabytes (which, like Java, is a
joke).
D has std.recls. .NET doesn't (although there is a recls .NET mapping)
D has Walter Bright. .NET has Anders Hejlsberg.


"the Poor Novice One" <the_member@pathlink.com> wrote in message news:cdr2au$1u2u$1@digitaldaemon.com...
>
> Goodday Fellows!
> How does D surpass C# ? Any 5 best reasons, please?
> Please don't mention the DMD and Wiki comparisons of D with other languages.I
> just want to know the personal views of the this great community on this topic.


July 23, 2004
In article <cdr2au$1u2u$1@digitaldaemon.com>, the Poor Novice One says...
>
>
>Goodday Fellows!
>How does D surpass C# ? Any 5 best reasons, please?
>Please don't mention the DMD and Wiki comparisons of D with other languages.I
>just want to know the personal views of the this great community on this topic.

(If anyone feels that I'm off base with this, please feel free to critique my
statements. :) )

As much as I like C#, D has some very distinct advantages IMO.

1) Less baggage.  C# relies on the .NET infrastructure: the .NET runtime, assembly manager, and JIT compiler.  These features have advantages in their own right, but are an extravagance when writing small apps.  Furthermore, the .NET runtime download is *huge* when downloaded via modem.  D provides a much more friendly alternative as it has a much smaller development kit and requires no runtime download at all for end-users of programs made using D.  This also means that programs with D will experience any compatibility mishaps that an upgrade to the .NET runtime might provide for C# apps.

2) Legacy Compatible.  This goes hand-in-hand with point #1.  D applications can run just great on any Win32 machine (NT4,95,98,Me,2000,XP) without the need for additional runtime support.  C#, on the other hand, is only compatible with NET, which leaves systems older Windows systems out of the picture.

3) Unhindered specification.  C# is tied down to the Common Language Infrastructure.  It is unlikely that C# will adopt any improvements that would require a change to the CLI, as that could disrupt other languages that rely upon it as well.  D may continue to develop as DigitalMars sees fit, without concerns of disrupting other products.  Furthermore, improvements to the D specification are accomplished without the beuracracy of a standards body at this time.

4) Simple and easy to use development kit that works well with existing tools. NET has had a long bumpy road, requiring the development of new debugging and development tools along the way.  This has hurt Microsoft and the development community alike by requiring the purchase or creation of (not to mention training for) these new programming tools.  D, on the other hand, works perfectly fine with existing debuggers and IDE's.  Furthermore, D maintains link-compatibility with C, so existing libraries may still be used with this new language; .NET only maintains backwards compatibility via COM binaries and.

5) Vendor provided, cross platform capability and compatibility.  Granted, .GNU and Mono have done an incredible job of bringing .NET to Linux and BSD. However, these projects are 100% complete rewrites of Microsoft's implementation.  D, on the other hand, is available for Windows as well as Linux, thanks to sharing DigitalMars' D compiler front-end.  This means that code written in D can be compiled and run on either platform with very little effort.

To sum up: C# relies on .NET which is a massive juggernaut of a runtime that tries to be all things to all people.  C# programs can be small, but experience performance losses when forced through the JIT compilation process, which also causes more memory and disk bloat.  D relies on tried-and-true development tools and techniques and requires relatively little to thrive on any given system. D exists on multiple platforms (legacy and new alike) in an unhindered way, where as C# does not.

- Pragma



July 23, 2004
1) D is Rocky. C# is Mr T.
2) D has fewer kitchen sinks (though it does seem to be getting more and
more)
3) D does arrays right
4) D wasn't born with a silver spoon in its mouth
5) D plays better with others

ps- My personal favorite Mr T quote: "Prediction? pain-n-n-n"

"the Poor Novice One" <the_member@pathlink.com> wrote in message news:cdr2au$1u2u$1@digitaldaemon.com...
>
> Goodday Fellows!
> How does D surpass C# ? Any 5 best reasons, please?
> Please don't mention the DMD and Wiki comparisons of D with other
languages.I
> just want to know the personal views of the this great community on this
topic.
>
>


July 23, 2004

the Poor Novice One wrote:
> How does D surpass C# ? Any 5 best reasons, please?
> Please don't mention the DMD and Wiki comparisons of D with other languages.I
> just want to know the personal views of the this great community on this topic.

(1) D is in the spirit of C: high performance and a small footprint
    (C# interface performance is bad, it isn't exactly small footprint)

(2) D is a community project: a Bright mind and an open community
    (C# is proprietary, built to enhance market-grip)

(3) D is built to last: Walter puts his livelong experience in to do it right.
    (C# .NET will not last, the update logic requires regular change of systems)

(4) D is simple: it is built to be usable for everybody, even single programmers
    (C# .NET is a dinosaur like Java, built for larger project teams that will
    be happy to have a lot of experts for all of its 3000+ classes)

(5) D is consistent: you must be if you do with resources so restricted.
    (C# like Java can't be consistent, because hundreds of developers can't)

-- 
Helmut Leitner    leitner@hls.via.at
Graz, Austria   www.hls-software.com
July 23, 2004
the Poor Novice One wrote:

> Goodday Fellows!
> How does D surpass C# ? Any 5 best reasons, please?
> Please don't mention the DMD and Wiki comparisons of D with other languages.I
> just want to know the personal views of the this great community on this topic.
> 
> 

I would simply like to add that if the code gods smile upon me, D will soon be able to interop with .NET while still maintaining it's current compatibility with C-linked binaries.

D.NET is turning out to be much closer to Managed D than D# which I think we can all agree is for the best.
July 23, 2004
In article <cdrvfr$2lmr$1@digitaldaemon.com>, Deja Augustine says...
>
>the Poor Novice One wrote:
>
>> Goodday Fellows!
>> How does D surpass C# ? Any 5 best reasons, please?
>> Please don't mention the DMD and Wiki comparisons of D with other languages.I
>> just want to know the personal views of the this great community on this topic.
>> 
>> 
>
>I would simply like to add that if the code gods smile upon me, D will soon be able to interop with .NET while still maintaining it's current compatibility with C-linked binaries.
>
>D.NET is turning out to be much closer to Managed D than D# which I think we can all agree is for the best.

Success and Happiness to you , mr.Deja !


July 24, 2004
"Ben Hinkle" <bhinkle@mathworks.com> wrote in message news:cdr9mv$23ll$1@digitaldaemon.com...
> 1) D is Rocky. C# is Mr T.
> 2) D has fewer kitchen sinks (though it does seem to be getting more and
> more)

What do you mean by a kitchen sink?

Phill.


July 24, 2004
> What do you mean by a kitchen sink?

i think he's referring to "everything but the kitchen sink" i.e. extra cool features.


July 24, 2004
Phill wrote:

> 
> "Ben Hinkle" <bhinkle@mathworks.com> wrote in message news:cdr9mv$23ll$1@digitaldaemon.com...
>> 1) D is Rocky. C# is Mr T.
>> 2) D has fewer kitchen sinks (though it does seem to be getting more and
>> more)
> 
> What do you mean by a kitchen sink?
> 
> Phill.

http://www.goenglish.com/EverythingButTheKitchenSink.asp

I was thinking more about .Net than C# since language-wise D and C# have the roughly the same features and it just many small things that become the difference. I would count C++ as something that has "lost the simplicity of C".
« First   ‹ Prev
1 2 3