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

From D Wiki
Jump to: navigation, search
(Created page with "This section is under development, but in the meantime these links present some independent perspectives on D from the perspective of a python programmer: *[http://bitbashing...")
 
Line 17: Line 17:
  
  
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:
+
Parallel programming has become increasingly in focus as we approach the beginning of the end of the [http://www.gotw.ca/publications/concurrency-ddj.htm free lunch from Moore's Law].  D makes multiprocessing and threading as simple as possible, but not simpler:
  
 
*[http://www.informit.com/articles/article.aspx?p=1609144 Free chapter from Dr Andrei Alexandrescu's book on parallelism in D]
 
*[http://www.informit.com/articles/article.aspx?p=1609144 Free chapter from Dr Andrei Alexandrescu's book on parallelism in D]

Revision as of 21:23, 29 March 2015

This section is under development, but in the meantime these links present some independent perspectives 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: