mardi 5 octobre 2010

D programming

Hello dear reader,

Recently I am interested in D language. This language is inspired by the simplicity of Python, the performance of C++, programming by contract from eiffel.

It has many advantages over these competing C++, Java, C#:


  1. The D supports multiple paradigm:
  2. Do not depend on a binary machine like JVM or other
  3. Timeliness
  4. The standard library tango is rich, full module to make a bit of everything and very powerful
  5. Error messages are clear, farewell messages from C + + incomprehensible
Installation:

$ su -c 'yum install ldc tango'
A litlle Hello word
import tango.io.Stdout;
void main(){
    Stdout("Hello word").nl;//print to stdout
}


Compilation:

$ ldc -w -O2 hello.d


Execution:

$ ./hello


The easy way to writing code, more error messages clearly evident, saves time and therefore money on software design

Documentation:


  1. tango API
  2. example and tutorial for tango
  3. tango website
  4. The book
  5. doc from digital mars
  6. language D version d1
  7. french documentation
  8. irc server freenode :
    1. #d
    2. #d.tango
    3. #ldc