Sponsored Links

 

 

 

Interfacing C/C++ and Python with SWIG

Source: www.swig.org
Topic: C Programming


Short Desciption:
2 SWIG Tutorial 7th International Python Conference Prerequisites C/C++ programming • Youve written a C program. • Youve written a Makefile. • You know how to use the compiler and linker ...

 

Content Inside:
1 Interfacing C/C++ and Python with SWIG David M.  Beazley Department of Computer Science University of Chicago Chicago, Illinois  60615 beazley@cs.uchicago.edu SWIG Tutorial 7th International Python Conference 2 SWIG Tutorial 7th International Python Conference Prerequisites C/C++ programming • Youve written a C program. • Youve written a Makefile. • You know how to use the compiler and linker. Python programming • Youve heard of Python. • Youve hopefully written a few Python programs. Optional, but useful • Some knowledge of the Python C API. • C++ programming experience. Intended Audience • C/C++ application developers interested in making better programs • Developers who are adding Python to "legacy" C/C++ code. • Systems integration (Python as a glue language). Notes 3 SWIG Tutorial 7th International Python Conference C/C++ Programming The good • High performance. • Low-level systems programming. • Available everywhere and reasonably well standardized The bad • The compile/debug/nap development cycle. • Difficulty of extending and modifying. • Non-interactive. The ugly • Writing user-interfaces. • Writing graphical user-interfaces (worse). • High level programming. • Systems integration (gluing components together). Notes 4 SWIG Tutorial 7th International Python Conference What Python Brings to C/C++ An interpreted high-level programming environment • Flexibility. • Interactivity. • Scripting. • Debugging. • Testing • Rapid prototyping. Component gluing • A common interface can be provided to different C/C++ libraries. • C/C++ libraries become Python modules. • Dynamic loading (use only what you need when you need it). The best of both worlds • Performance of C • The power of Python. Notes 5 SWIG Tutorial 7th International Python Conference Points to Ponder "Surely ...

 

add to Google Reader add to Google Bookmark add to bloglines add to newsgator add to FURL add to digg add to webnews add to Netscape add to Yahoo MyWeb add to spurl.net add to diigo Bookmark newsvine Bookmark del.icio.us Bookmark @ SIMPIFY Bookmark MISTER WONG Bookmark Linkarena Bookmark icio.de Bookmark oneview Bookmark folkd.com Bookmark yigg.de Bookmark reddit Bookmark StumbleUpon Bookmark Slashdot Bookmark blinklist Bookmark technorati add to blogmarks add to blinkbits add to ma.gnolia add to smarking.com add to netvouz add to co.mments add to Connotea add to de.lirio.us

 

Related PDF Files

C Style Guide and Programming Guidelines


Topic: C Programming

C Style Guide and Programming Guidelines Filename : Peter_CStyleGuide.doc/pdf Modified : October 23, 2003 Author : P.K. van der Vlugt e-mail : peter@ckernel.nl

C/C++ Programming Style Guidelines


Topic: C Programming

C/C++ Programming Style Guidelines Table of Contents Introduction File Contents File Format ... With luck, a good style guide can encourage better programming habits. To that end, all C++ programmers should ...

Introduction to C Programming


Topic: C Programming

Home :: C and C++ :: Tips and Tutorials :: Introduction to C and C++ Introduction to C Programming Hits: 1,313 Description: An introductory tutorial on C programming.

C++ Programming Styles and Libraries


Topic: C Programming

C++ is a multiparadigm programming language. That is, C++ supports several .... clean, maintainable, efficient code) is to master modern C++ programming ...

Application programming Interface for C (C-API)


Topic: C Programming

written in C language to assist graphics application programs utilizing the 2D ... Graphics Application Program. Application Programming Interface (the "API" ...

 

Sponsored Links