python vs d

Chris via Digitalmars-d digitalmars-d at puremagic.com
Mon Apr 28 07:15:17 PDT 2014


On Monday, 28 April 2014 at 13:26:51 UTC, Russel Winder via 
Digitalmars-d wrote:
> On Mon, 2014-04-28 at 09:43 +0000, Chris via Digitalmars-d 
> wrote:
> […]
>> Yeah, Python is good for fast prototyping, that's why the 
>> scientific community uses it. However, when it comes to using 
>> the code for real world apps, you have to rewrite it in C/C++ 
>> or D (or the like).
>
> Why?
>
> Many people use Python codes in the real world quite happily, 
> there is
> no necessity to rewrite at all.
>
> […]

E.g. an algorithm for signal processing. Python is fine for 
prototyping, but if you want your algorithms to work in a real 
world app at real time, you'll have to rewrite it in C/C++, D or 
whatever. I've adopted the policy (where ever applicable) to use 
D straight away. It's just not worth it to develop something in 
Python and rewrite it in D later. I don't see the benefits of 
writing in Python, only drawbacks in the long run.


More information about the Digitalmars-d mailing list