[Numpy-discussion] Linker script, smaller source files and symbol visibility
Charles R Harris
Mon Apr 20 13:55:39 CDT 2009
On Mon, Apr 20, 2009 at 9:48 AM, Charles R Harris <email@example.com
> Hi David
> On Mon, Apr 20, 2009 at 6:51 AM, David Cournapeau <
> firstname.lastname@example.org> wrote:
>> 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
You took part in it also.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Numpy-discussion