GUI libs

Martin v. Löwis martin at v.loewis.de
Sat Apr 26 03:42:33 EDT 2003


grante at visi.com (Grant Edwards) writes:

> If Python doesn't use a particular library module, then it
> won't get linked in.  The C run-time library isn't a single
> monolithic object.

On most systems, it is, being a shared library.

Now, you may argue that due to demand-paging, the C library won't be
copied entirely into main memory at run-time, which is true. The same
is true for Tcl, though: Tcl commands that aren't used won't get paged
in, either.

> The big advantage was that Tk "understands" Scheme variables.

I see.

> Another advantage was that parameters passed to and and return
> values from Tk methods all use native Scheme data types.
> 
> > Aren't they also obtained by exposing the Tcl object interface?
> 
> Don't know.

This is what the Tcl object API offers: You get native Python data
types in parameters and results.

Regards,
Martin





More information about the Python-list mailing list