Why I chose D over Ada and Eiffel
deadalnix
deadalnix at gmail.com
Wed Aug 21 22:22:05 PDT 2013
On Wednesday, 21 August 2013 at 17:45:29 UTC, Ramon wrote:
>> Moor's law is kaput, finish, niet, we don't know how to use
>> the extra transistor.
>
> Even if that were true, we have gone quite some distance. Not
> even talking about Sparc T4 or 8-core X86, my smartphone is
> more powerful than what I had as computer 10 years or so ago.
>
Just read this this :
ftp://ftp.cs.utexas.edu/pub/dburger/papers/ISCA11.pdf and come
back informed.
>> A vast amount of software is written in javascript, java, C#,
>> PHP and many "safe" languages, and still are crippled with
>> bugs.
>
> Do I get you right considering js, java, C# and PHP being
> "safe" languages?
>
They are dramatically superior to C in term of safety.
>> Some codebase are trully scary. Look at gdb's source code or
>> gtk's.
>
> Written in C/C++ ...
>
Well look at phpBB's source code then. Horrible codebase isn't
language specific.
>> You want no bugs ? Go for Haskell. But you'll get no
>> convenience or performance. The good thing if that if it does
>> compile, you are pretty sure that it does the right thing.
>
> Why should I? Isn't that what D promises, too (and probably is
> right)?
>
D promise a pragmatic balance between safety, performance, ease
of use, productivity, etc . . .
> On another perspective: Consider this question "Would you be
> willing to have all your software (incl. OS) running 10% or
> even 20% slower but without bugs, leaks, (unintended) backdoors
> and the like?"
>
> My guess: Upwards of 80% would happily chime "YES!".
Would you accept it if it means a 3x slowdown and no real time
capabilities (no video games for instance) ?
More information about the Digitalmars-d
mailing list