| | SWIG 1.3.34 英文正式版 | | 軟體語言 | 英文 | | 軟體類型 | 國外軟件 / 免費軟件 / 編程工具 | | 應用平台 | Win2000/XP/2003 |
| 軟體大小 | 5929KB |
| 軟體評價 |
| | 更新時間 | 2008-3-14 9:37:00 | | 官方認證 | 官方發布 經過本站Mcafee Enterprise 檢查是無病毒的,請放心下載 | | 開發網站 | http://www.swig.org/exec.html | |
軟體簡介 |
SWIG是個幫助使用C或者C++編寫的軟件能與其它各種高級編程語言進行嵌入聯接的開發工具,通俗的說就是用來封裝C/C++開發包的語言“粘合劑”。 English Product Description:for fixdown.com Connects programs written in C and C++ with scripting languages such as Perl, Python, Ruby, and Tcl.
SWIG was designed to be an interface compiler that will connect programs written in C and C++ with scripting languages such as Perl, Python, Ruby, and Tcl. It works by taking the declarations found in C/C++ header files and using them to generate the wrapper code that scripting languages need to access the underlying C/C++ code. In addition, SWIG provides a variety of customization features that let you tailor the wrapping process to suit your application.
SWIG is used in a number of ways:
Building more powerful C/C++ programs. Using SWIG, you can replace the main() function of a C program with a scripting interpreter from which you can control the application. This adds quite a lot of flexibility and makes the program "programmable." That is, the scripting interface allows users and developers to easily modifiy the behavior of the program without having to modify low-level C/C++ code. The benefits of this are numerous. In fact think of all of the large software packages that you use every day---nearly all of them include special a macro language, configuration language, or even a scripting engine that allows users to make customizations.
Rapid prototyping and debugging. SWIG allows C/C++ programs to be placed in a scripting environment that can be used for testing and debugging. For example, you might test a library with a collection of scripts or use the scripting interpreter as an interactive debugger. Since SWIG requires no modifications to the underlying C/C++ code, it can be used even if the final product does not rely upon scripting.
Systems integration. Scripting languages work fairly well for controlling and gluing loosely-coupled software components together. With SWIG, different C/C++ programs can be turned into scripting language extension modules. These modules can then be combined together to create new and interesting applications.
Construction of scripting language extension modules. SWIG can be used to turn common C/C++ libraries into components for use in popular scripting languages. Of course, you will still want to make sure that no-one else has already created a module before doing this.
SWIG is sometimes compared to interface definition language (IDL) compilers such as those you find with systems such as CORBA and COM. Although there are a few similarities, the whole point of SWIG is to make it so you don't have to add an extra layer of IDL specifications to your application.
Here are some key features of "SWIG":
﹞ Code Generation
﹞ ANSI C
﹞ ANSI C++
﹞ Preprocessing
﹞ Customizated type conversion/marshaling.
﹞ Exception handling.
﹞ Class/structure extension.
﹞ Memory management.
﹞ Ambiguity resolution.
﹞ Template instantiation.
﹞ File import and cross-module linking.
﹞ Code inclusion, helper function support.
﹞ Extensive diagnostics (error/warning messages including fine grained warning suppression).
﹞ Extended SWIG macro handling. | |
| | * 推薦使用快車 下載本站軟件,能下載到最快的速度! 歡迎您提供最新軟件下載消息,或發布您的自編軟件。如果您發現該軟件不能下載,請通知管理員,謝謝! * 本站軟件為官方發布,不包含侵權軟件。站內的軟件都是由網上收集,只供網友學習使用,如果所收集的軟件侵犯了您的版權,請來信告知,我們會馬上處理 |
|