Python linker

2006-07-18 Thread byteschreck
I love python - I use it as a utility language to complement my C#
programming every day. However, the reason I do not use it as my
primary language is - surprise, surprise - not its lack of static type
checking, but the size of standalone executes  (which embed the python
runtime).

Would it be possible to link only the used functions into your
resulting executable? After all, a typical application might only use
20% of everything that is in the Python .dlls.

The same applies to wxPython - it would be great if you could only link
in what you need. Would it be possible to write such linkers at all
(maybe based on GCC)?

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python linker

2006-07-18 Thread byteschreck
I develop shareware applications that need to be extremely slim (less
than 1 MB is preferable).

Delphi applications easily meet this requirement and I can expect end
users to download the .NET framework (if they don't already have it!).

However, I cannot expect users to download 3.5 MB.

For corporate clients, size does not matter the least, but for end
users, anything that is a couple of megs seems "bloated".

> For your distribution, just move your DLLs to the appropriate system
> folder. That's what DLLs do. You throw them in system32, forget they
> were there in the first place, and the Linker Troll does the rest for
> you.

-- 
http://mail.python.org/mailman/listinfo/python-list