SWIG is a software development tool that connects programs written in C and C++ with a variety of high-level programming languages. SWIG is used with different types of target languages including common scripting languages such as Javascript, Perl, PHP, Python, Tcl and Ruby. The list of supported languages also includes non-scripting languages such as C#, D, Go language, Java, Lua, OCaml, Octave, R and Scilab. Also several interpreted and compiled Scheme implementations (Guile, MzScheme/Racket) are supported. SWIG is most commonly used to create high-level interpreted or compiled programming environments, user interfaces, and as a tool for testing and prototyping C/C++ software. SWIG is typically used to parse C/C++ interfaces and generate the 'glue code' required for the above target languages to call into the C/C++ code. SWIG can also export its parse tree in the form of XML.

Project Activity

See All Activity >

License

GNU General Public License version 3.0 (GPLv3)

Follow SWIG

SWIG Web Site

You Might Also Like
ERP System for Manufacturing Icon
ERP System for Manufacturing

ProShop dramatically improves efficiency because it focuses on improving the execution of manufacturing shop processes.

ProShop is a paperless and web based shop management, ERP, MES and QMS system for manufacturing companies in regulated industries. ProShop was built on the shop floor of a machine shop for nearly 20 years, and it's not like anything you've seen. Built to manage the complex manufacturing environment better than anything else on the market - by an order of magnitude. Never before has there been a system that gives you such insight into every detail of your manufacturing company. ProShop is best described as a Digital Manufacturing Ecosystem (DME). It is 100% paperless, and combines the features found in ERP, MES, QMS, CMMS, and other software categories for machine shops, fabricators, job shops, contract manufacturers and others in regulated industries who need tight controls on their process and want exacting and timely information to make the best and most profitable decisions.
Rate This Project
Login To Rate This Project

User Ratings

★★★★★
★★★★
★★★
★★
24
0
0
0
0
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5

User Reviews

  • Very impressive tool. Nowadays Python is rising as quick prototype language, it used in AI, etc... SWIG makes it extremely easy, just from a command line with few commands, to make Python bindings to C/C++ functions, when you need to ensure your critical code is performing at C/C++ speed.
    1 user found this review helpful.
  • SWIG is an outstanding tool that provides native interfaces on various languages for the C/C++ libraries. It has no any alternatives if multiple target languages are considered and has relatively good support even for C++14. Thought, SWIG also lacks plenty of features of the C++11+ that requires lots of manual tuning to make work code that uses templates and move semantics heavily, which is fine for the OFS project, especially with such excellent community, support and active development! SWIG is easy to use for simple projects, but might be rather complicated for the C++11+ code, which is an expected payoff for the provided flexibility.
    2 users found this review helpful.
  • good
  • Like smc.sourceforge.net this is yet another very effective idea and project. Thank you all contributors!
  • swig does a great job with a really, really hard problem. I run into issues occassionally, but they make a solid effort to maintain it, fix bugs, etc., and provide good support on the forum. Definitely my first choice for wrapping C/C++ for Java or Python (haven't used the other targets).
    1 user found this review helpful.
Read more reviews >

Additional Project Details

Operating Systems

Linux, BSD, Windows

Intended Audience

Developers

User Interface

Command-line

Programming Language

C++, C

Related Categories

C++ Code Generators, C++ Compilers, C Code Generators, C Compilers

Registered

2000-01-19