boost-python Newbie tutorial needed.
Hmm k i have a simple question, how would I build boost.python given this following information. I am using dev-cpp and its install in "c:\dev-cpp" folder. IN it contains the mingw32 sub directory My project folder is "c:\cs classes\cs386\c++". In it contains FiniteAutomta.cpp which maps to python module... my boost folder is "C:\boost_1_33_1" in it contains the bjam.exe file. PYTHON_ROOT = "C:\python24" Thanks for the help. I look at the tutorial but is confused on how I can build my project.
Hi All Am trying to work for real time environment I wanted to know which if the fact that This appeared in one of the articles : http://citeseer.ist.psu.edu/striegnitz00expression.html g++ compilers fare almost 7 times as bad to hand generated code. snip.... The performance of lambda function, we used the expression template aware Vec3 class that has been described in section 3.1. We measured the time to add four instances of Vec3 by using these methods: loop: we manually coded a loop that iterates through the vector components and performs the addition, expression templates: we simply wrote e = a + b + c + d, were a - e are all of type Vec3 and lambda function: we used lambda(w,x,y,z, w + x + y + z)(a,b,c,d). All those expression were evaluated fifty million times on a SunUltra 10 with a 333MHz UltraSparcIIi processor. We used Kuck and Associatesâ KCC version 4.0 with either SUNâs C 5.0 or Gnuâs C 2.95.2 as possible backend C compiler. Furthermore, we investigated GNUâs C++ compiler 2.95.2. snip.... My question is does the performance penalty still exist with g++(4.1) compilers as against boost::lambda functions. regards divyank __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
"chun ping wang"
Hmm k i have a simple question, how would I build boost.python given this following information.
I am using dev-cpp and its install in "c:\dev-cpp" folder.
IN it contains the mingw32 sub directory
My project folder is "c:\cs classes\cs386\c++".
In it contains FiniteAutomta.cpp which maps to python module...
my boost folder is "C:\boost_1_33_1" in it contains the bjam.exe file.
PYTHON_ROOT = "C:\python24"
Thanks for the help. I look at the tutorial but is confused on how I can build my project.
I suggest you bring Boost.Python questions to the C++-sig: http://www.boost.org/more/mailing_lists.htm/cplussig -- Dave Abrahams Boost Consulting www.boost-consulting.com
participants (3)
-
chun ping wang
-
David Abrahams
-
divyank shukla