[Numpy-discussion] Linker script, smaller source files and symbol visibility

Charles R Harris charlesr.harris@gmail....
Mon Apr 20 13:55:39 CDT 2009


On Mon, Apr 20, 2009 at 9:48 AM, Charles R Harris <charlesr.harris@gmail.com
> wrote:

> Hi David
>
> On Mon, Apr 20, 2009 at 6:51 AM, David Cournapeau <
> david@ar.media.kyoto-u.ac.jp> wrote:
>
>> Hi,
>>
>>    For quite a long time I have been bothered by the very large files
>> needed for python extensions. In particular for numpy.core, which
>> consists in a few files which are ~ 1 Mb, I find this a pretty high
>> barrier of entry for newcomers, and it has quite a big impact on the
>> code organization. I think I have found a way to split things on common
>> platforms (this includes at least windows, mac os x, linux and solaris),
>> without impacting other  potentially less capable platforms, or static
>> linking of numpy.
>>
>
> There was a discussion of this a couple of years ago. I was in favor of
> many small files maybe in subdirectories. Robert, IIRC, thought too many
> small files could become confusing, so there is a fine line in there
> somewhere.  I am generally in favor of breaking the files up into their
> functional components and maybe rewriting some of the upper level interface
> files in cython. But it does need some agreement and we should probably
> start by just breaking up a few files. I don't have a problem with big files
> that are just collections of small routines all of the same type,
> umath_loops.inc.src for instance.
>
>

Here is a link to the start of the old
discussion<http://article.gmane.org/gmane.comp.python.numeric.general/12974/match=exported+symbols+code+reorganization>.
You took part in it also.

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20090420/3d00ce91/attachment.html 


More information about the Numpy-discussion mailing list