bindings: what's the big idea!?

Ryan Rix ry at n.rix.si
Sun Jan 17 22:26:04 UTC 2010


On Sun 17 January 2010 1:36:07 pm Armelius Cameron wrote:
> Yes, a lot of these are for software development

No, they are not just for software development. Applications use them at 
runtime. Say you write a Plasma widget in python.

Plasma doesn't speak python by default, and python has no knowledge of any KDE 
or Qt libraries, functions, or anything, because the libraries are written in 
a language that these don't understand.

Along come bindings. These give various languages (in the case of PyQt, PyKDE4 
and PyQt4 it is Python) an interface to call the functions that exist in the 
C++ libraries for Qt3, KDE and Qt4. 

Think of it as a translator of sorts, or an "international" adapter that 
allows you to use your power cords in other nations with different plugs :)

Ryan

-- 
Ryan Rix
Fedora KDE SIG Member, Phoenix AZ Ambassador, News KDE Beat writer

New Mail address: phrkonaleash at gmail.com -> ry at n.rix.si !!
http://hackersramblings.wordpress.com | http://identi.ca/phrkonaleash
XMPP: phrkonaleash at gmail.com          | MSN: phrkonaleash at yahoo.com
AIM:  phrkonaleash                    | Yahoo: phrkonaleash
IRC:  PhrkOnLsh at irc.freenode.net/#srcedit,#plugaz,#fedora-kde and
      countless other FOSS channels.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://lists.fedoraproject.org/pipermail/kde/attachments/20100117/d044c2a5/attachment.bin 


More information about the kde mailing list