Templates problem
Russel Winder via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri Sep 9 06:32:16 PDT 2016
On Thu, 2016-09-08 at 14:39 +0000, data pulverizer via Digitalmars-d-
learn wrote:
> […]
>
> I can see where you are coming from, I have taken a look at
> Chapel and high performance computing is their top priority. I
> think they hope that it will be the next Fortran, but I think it
> is very much a domain specific language. They have clearly given
> plenty of thought to distributed computing, parallelization and
> concurrency that could yield some very nice performance
> advantages. However Python's advantage is that it is a dynamic
> language and can act as a front end to algorithms written in
> C/C++ for instance as Google has done with TensorFlow. In the
> future it could even act as a front end to Chapel since they now
> have a C API.
Why write algorithms in C or C++ when you can do it in Chapel? The
point here is that Python folk should look to languages like Chapel and
not C, C++, or even D when they reach the limits of Python performance.
And yes I am trying to get PyChapel to run on Python 3 as well as
Python 2.
> However, I feel as if computer programming languages are still in
> this static-dynamic partnership, e.g. Python with C/C++, R and
> Fortran/C/C++. It means language overhead always maintaining code
> in more than one language and always having to amend your
> interface every time you change something in one or the other. In
> essence, nothing fundamentally different is happening with
> current new languages. I hate to sound like a broken record, but
> what Sparrow proposes is a unification in such a way that all
> kinds of overheads go away. Making something like that work with
> the principles of Sparrow would be a revolution in computing.
But how are they going to get traction?
Should we be giving up on D and switching to Sparrow?
Polyglots programmers tend to be better programmers. This is not
opinion, there is experimental evidence for this in the psychology of
programming literature.
--
Russel.
=============================================================================
Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder at ekiga.net
41 Buckmaster Road m: +44 7770 465 077 xmpp: russel at winder.org.uk
London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20160909/14c5eb85/attachment.sig>
More information about the Digitalmars-d-learn
mailing list