I want to use C++ for opengl and python for scripting various social api calls. IS there a better option?
Asked
Active
Viewed 455 times
-2
-
2there are numerous alternatives: like lua, perl or javascript. if you want to take python: boost is your friend. http://www.boost.org/doc/libs/1_55_0/libs/python/doc/index.html – Alexander Oh Nov 17 '13 at 08:51
-
There is previous answer about mixing c/c++ with python look at here http://stackoverflow.com/questions/1153577/integrate-python-and-c – Amador Nov 17 '13 at 08:54
1 Answers
1
Prototype with your OpenGL calls in python - it is much quicker to prototype than C/C++ and then see if it is quick enough - if it is then you are done - if not then find the bottlenecks and consult the documentation on C/C++ plug in to address those issues.
Note that there are python OpenGL bindings available here which already use C/C++ on the OpenGL side so should be as fast as anything you are likely to come up with quickly.

Steve Barnes
- 27,618
- 6
- 63
- 73