Re: [OT] C++ programming: keeping count of data items read from file
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 05/09/08 08:19, Jordi Gutiérrez Hermoso wrote:
> On 09/05/2008, Ron Johnson <ron.l.johnson@cox.net> wrote:
>> Remember, there's developer scale as well as execution scale.
>
> The execution scale is all that matters to us, since a wrong algorithm
> or language can easily exacerbate execution times by orders of
> magnitude, while developer time hardly ever suffers from several
> orders of magnitude.
Then write your apps in FORTRAN. (But then, you aren't the OP...)
> You're not going to convince a numericist to give up compiled
> languages. :-) Give it up.
I'm not going to try. Well, not much... Since all the functions
are already written in a compiled language, what you're really doing
is using Python as "stitching".
You really ought to take a look at NumPy, and compare it to whatever
you write in C/C++. In addition to the standard C->Python bindings,
NumPy also has interfaces to your existing FORTRAN and C++ libraries.
http://www.scipy.org/Cookbook/BuildingArrays
http://numpy.scipy.org//
- --
Ron Johnson, Jr.
Jefferson LA USA
We want... a Shrubbery!!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFIJFOwS9HxQb37XmcRAhLPAJ0UI8GlQxitylk0CY6SLPYxhQhEUgCfcQT6
NhH5eVX+SUm/DRC2eZqECHw=
=GOMn
-----END PGP SIGNATURE-----
Reply to: