3 ms·
I actually use a blend of C & Python, C for doing the heavy lifting and Python for the rapid prototyping. Most AI algorithms have clearly defined segments that
by marcus 17y ago
I actually use a blend of C & Python, C for doing the heavy lifting and Python for the rapid prototyping.
Most AI algorithms have clearly defined segments that are very CPU intensive, by only using C in those areas I get the optimal balance of development speed and execution speed.
- arjunnarayan 17y agoEver since I learnt Cython, this has been my preferred combination as well. I can't overstate enough how great it is to be able to get the rapid prototyping of Python combined with being able to offload the heavy stuff to C.