Difference between revisions of "Programming in D for Python Programmers"

From D Wiki
Jump to: navigation, search
Line 2: Line 2:
  
 
*[http://bitbashing.io/2015/01/26/d-is-like-native-python.html  D is like Native Python]
 
*[http://bitbashing.io/2015/01/26/d-is-like-native-python.html  D is like Native Python]
 +
*[http://tech.adroll.com/blog/data/2014/11/17/d-is-for-data-science.html AdRoll is known for their use of Python elsewhere, but their data scientists use D]
  
 
Python's generators and list comprehensions have been thought to be two of the most difficult concepts to replicate in other languages.  For the D solution to the problem solved by Python generators, see D Ranges and lazy evaluation.  For list comprehensions, see UFCS.
 
Python's generators and list comprehensions have been thought to be two of the most difficult concepts to replicate in other languages.  For the D solution to the problem solved by Python generators, see D Ranges and lazy evaluation.  For list comprehensions, see UFCS.
Line 24: Line 25:
 
*[http://ddili.org/ders/d.en/concurrency.html Ali Cehreli on message-passing concurrency]
 
*[http://ddili.org/ders/d.en/concurrency.html Ali Cehreli on message-passing concurrency]
 
*[http://ddili.org/ders/d.en/concurrency_shared.html Ali Cehreli on data-sharing concurrency]
 
*[http://ddili.org/ders/d.en/concurrency_shared.html Ali Cehreli on data-sharing concurrency]
 +
*[http://dlang.org/library/std/parallelism.html std.parallelism]

Revision as of 21:29, 29 March 2015

This section is under development, but in the meantime this link presents an independent perspective on D from the perspective of a python programmer:

Python's generators and list comprehensions have been thought to be two of the most difficult concepts to replicate in other languages. For the D solution to the problem solved by Python generators, see D Ranges and lazy evaluation. For list comprehensions, see UFCS.


Parallel programming has become increasingly in focus as we approach the beginning of the end of the free lunch from Moore's Law. D makes multiprocessing and threading as simple as possible, but not simpler: