⇤ ← Revision 1 as of 2004-05-20 23:37:10
731
Comment: moved to here
|
← Revision 2 as of 2008-11-15 14:00:03 ⇥
731
converted to 1.6 markup
|
Deletions are marked like this. | Additions are marked like this. |
Line 14: | Line 14: |
IIUC, ["weave"] can be used for embedding nontrivial C++ code, if you're | IIUC, [[weave]] can be used for embedding nontrivial C++ code, if you're |
Weave
From DavidAbrahams:
Boost.Python is designed with the idea in mind that users never touch a PyObject*.
Boost.Python depends on quite a few of the other boost libraries (possibly a few others):
- type_traits
- bind
- function
- mpl
- smart_ptr
IIUC, weave can be used for embedding nontrivial C++ code, if you're willing to stick it all inside one function body. Furthermore, tools like weave.blitz() can make an enormous difference by compiling an entire C++ expression template corresponding to an arbitrarily complicated Python expression. Surely that's nontrivial. It's definitely cool. I think weave offers enormous power to the person who's programming mostly in Python.