Jump to content
  • Advertisement
Sign in to follow this  
MrRage

Module Development for Python

This topic is 4108 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm going to be developing a series of functions that I'd like to use from Python so my questions is should I write these functions C, C++ or use something like Cython to write the functions? The reason why I'm not doing these functions in Python to begin with is that they are a mix of CUDA and other functions with data Python can not touch.

Share this post


Link to post
Share on other sites
Advertisement
Choose the one you're most comfortable with for developing the functionality you want. Python doesn't care what language its extensions are written in; just that the extension matches the import format, and once you have your functions written and compiled you can use whatever binding system you want, be it boost::python, SWIG, Cython or by hand.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!