## [Swig-devel] SWIG related project: Instant

 [Swig-devel] SWIG related project: Instant From: Kent-Andre Mardal - 2006-07-18 09:56:58 ``` Hi, First of all, thanks for SWIG! It makes our lives a lot easier. I decided to post you some news about the Instant project (pyinstant.sf.net) because it says on http://www.swig.org/links.html that you are always looking out for SWIG related projects and that such e-mails should be posted to the swig-devel mailing list (and it would be nice if also Instant is mentioned on this webpage). Instant is a small layer on top of SWIG and Distutils which enable inlining of C/C++ in Python. An example of use is: >>> from Instant import inline >>> add_func = inline("double add(double a, double b){ return a+b; }") >>> print "The sum of 3 and 4.5 is ", add_func(3, 4.5) We have created this module because we often generate C/C++ code for doing finite element computation in Python. This code is then inlined and tested on the fly. Regards, Kent-Andre Mardal Simula Research Laboratory ```

 [Swig-devel] SWIG related project: Instant From: Kent-Andre Mardal - 2006-07-18 09:56:58 ``` Hi, First of all, thanks for SWIG! It makes our lives a lot easier. I decided to post you some news about the Instant project (pyinstant.sf.net) because it says on http://www.swig.org/links.html that you are always looking out for SWIG related projects and that such e-mails should be posted to the swig-devel mailing list (and it would be nice if also Instant is mentioned on this webpage). Instant is a small layer on top of SWIG and Distutils which enable inlining of C/C++ in Python. An example of use is: >>> from Instant import inline >>> add_func = inline("double add(double a, double b){ return a+b; }") >>> print "The sum of 3 and 4.5 is ", add_func(3, 4.5) We have created this module because we often generate C/C++ code for doing finite element computation in Python. This code is then inlined and tested on the fly. Regards, Kent-Andre Mardal Simula Research Laboratory ```
 Re: [Swig-devel] SWIG related project: Instant From: William S Fulton - 2006-07-24 21:26:51 ```Kent-Andre Mardal wrote: > > Hi, > > First of all, thanks for SWIG! It makes our lives a lot easier. > > I decided to post you some news about the Instant project > (pyinstant.sf.net) > because it says on http://www.swig.org/links.html that you are always > looking out for SWIG related projects and that such e-mails should > be posted to the swig-devel mailing list (and it would be nice if also > Instant is mentioned on this webpage). > > Instant is a small layer on top of SWIG and Distutils which > enable inlining of C/C++ in Python. An example of use is: > Done! William ```